@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('pagesets', function (Blueprint $table) { |
|
11 | + Schema::create('pagesets', function(Blueprint $table) { |
|
12 | 12 | $table->increments('id'); |
13 | 13 | $table->string('key')->unique(); |
14 | 14 | $table->string('action'); |
@@ -8,19 +8,19 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::table('pages', function (Blueprint $table) { |
|
11 | + Schema::table('pages', function(Blueprint $table) { |
|
12 | 12 | $table->renameColumn('collection', 'morph_key'); |
13 | 13 | }); |
14 | 14 | |
15 | - Schema::table('modules', function (Blueprint $table) { |
|
15 | + Schema::table('modules', function(Blueprint $table) { |
|
16 | 16 | $table->renameColumn('collection', 'morph_key'); |
17 | 17 | }); |
18 | 18 | |
19 | - Schema::table('pages', function (Blueprint $table) { |
|
19 | + Schema::table('pages', function(Blueprint $table) { |
|
20 | 20 | $table->string('morph_key', 255)->change(); |
21 | 21 | }); |
22 | 22 | |
23 | - Schema::table('modules', function (Blueprint $table) { |
|
23 | + Schema::table('modules', function(Blueprint $table) { |
|
24 | 24 | $table->string('morph_key', 255)->change(); |
25 | 25 | }); |
26 | 26 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create(config('activitylog.table_name'), function (Blueprint $table) { |
|
11 | + Schema::create(config('activitylog.table_name'), function(Blueprint $table) { |
|
12 | 12 | $table->increments('id'); |
13 | 13 | $table->string('log_name')->nullable(); |
14 | 14 | $table->text('description'); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('relations', function (Blueprint $table) { |
|
11 | + Schema::create('relations', function(Blueprint $table) { |
|
12 | 12 | $table->string("parent_type"); |
13 | 13 | $table->unsignedBigInteger("parent_id"); |
14 | 14 | $table->string("child_type"); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::table('page_translations', function (Blueprint $table) { |
|
11 | + Schema::table('page_translations', function(Blueprint $table) { |
|
12 | 12 | $table->string('seo_keywords')->after('seo_description')->nullable(); |
13 | 13 | }); |
14 | 14 | } |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('pages', function (Blueprint $table) { |
|
11 | + Schema::create('pages', function(Blueprint $table) { |
|
12 | 12 | $table->increments('id'); |
13 | 13 | $table->string('collection', 32)->index()->default('singles'); |
14 | 14 | $table->boolean('published')->default(false); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | $table->softDeletes(); |
23 | 23 | }); |
24 | 24 | |
25 | - Schema::create('page_translations', function (Blueprint $table) { |
|
25 | + Schema::create('page_translations', function(Blueprint $table) { |
|
26 | 26 | $table->increments('id'); |
27 | 27 | $table->integer('page_id')->unsigned(); |
28 | 28 | $table->string('locale'); |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('chief_users', function (Blueprint $table) { |
|
11 | + Schema::create('chief_users', function(Blueprint $table) { |
|
12 | 12 | $table->increments('id'); |
13 | 13 | $table->string('firstname'); |
14 | 14 | $table->string('lastname'); |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $table->timestamps(); |
21 | 21 | }); |
22 | 22 | |
23 | - Schema::create('chief_password_resets', function (Blueprint $table) { |
|
23 | + Schema::create('chief_password_resets', function(Blueprint $table) { |
|
24 | 24 | $table->string('email')->index(); |
25 | 25 | $table->string('token')->index(); |
26 | 26 | $table->timestamp('created_at')->nullable(); |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::create('modules', function (Blueprint $table) { |
|
11 | + Schema::create('modules', function(Blueprint $table) { |
|
12 | 12 | $table->increments('id'); |
13 | 13 | $table->unsignedInteger('page_id')->nullable(); |
14 | 14 | $table->string('collection', 32)->index(); |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | $table->foreign('page_id')->references('id')->on('pages')->onDelete('cascade'); |
20 | 20 | }); |
21 | 21 | |
22 | - Schema::create('module_translations', function (Blueprint $table) { |
|
22 | + Schema::create('module_translations', function(Blueprint $table) { |
|
23 | 23 | $table->increments('id'); |
24 | 24 | $table->integer('module_id')->unsigned(); |
25 | 25 | $table->string('locale'); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function up() |
10 | 10 | { |
11 | - Schema::table('page_translations', function (Blueprint $table) { |
|
11 | + Schema::table('page_translations', function(Blueprint $table) { |
|
12 | 12 | $table->string('title')->nullable()->change(); |
13 | 13 | }); |
14 | 14 | } |