Key Controller + list
This commit is contained in:
1 parent
78acb54845
commit
222194e554
11 files changed
+141
-48
No files matched your search
@@ -1,18 +1,18 @@
|
||||
<?php namespace GermanAirlinesVa\GraphQl\Updates;
|
||||
<?php namespace GermanAirlinesVa\Graphql\Updates;
|
||||
|
||||
use DB;
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableCreateGermanAirlinesVaGraphQlGraphQlKeys extends Migration
|
||||
class BuilderTableCreateGermanAirlinesVaGraphqlGraphqlKeys extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::connection('germanairlinesva_graphql')->create('graphql_keys', function ($table) {
|
||||
$table->engine = 'InnoDB';
|
||||
$table->bigIncrements('id')->unsigned();
|
||||
$table->bigInteger('member_id')->unsigned();
|
||||
$table->datetime('valid_from')->default(DB::raw('NOW()'));
|
||||
$table->datetime('valid_to')->default(DB::raw('NOW()'));
|
||||
$table->string('key');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user