@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('redirects', function (Blueprint $table) { |
|
| 16 | + Schema::create('redirects', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('slug')->unique(); |
| 19 | 19 | $table->longText('to'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('forms', function (Blueprint $table) { |
|
| 16 | + Schema::create('forms', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('title'); |
| 19 | 19 | $table->string('slug'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('pages', function (Blueprint $table) { |
|
| 16 | + Schema::create('pages', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->integer('template_id'); |
| 19 | 19 | $table->tinyInteger('isHp')->default(0); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('form_entries', function (Blueprint $table) { |
|
| 16 | + Schema::create('form_entries', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('slug'); |
| 19 | 19 | $table->longText('entry'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('contents', function (Blueprint $table) { |
|
| 16 | + Schema::create('contents', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('slug'); |
| 19 | 19 | $table->string('type'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('resources', function (Blueprint $table) { |
|
| 16 | + Schema::create('resources', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('slug')->unique(); |
| 19 | 19 | $table->longText('json'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('templates', function (Blueprint $table) { |
|
| 16 | + Schema::create('templates', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('slug'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('sites', function (Blueprint $table) { |
|
| 16 | + Schema::create('sites', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('slug'); |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('pages', function (Blueprint $table) { |
|
| 16 | + Schema::table('pages', function(Blueprint $table) { |
|
| 17 | 17 | $table->string('page')->nullable()->default(null)->after('template_id'); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('pages', function (Blueprint $table) { |
|
| 28 | + Schema::table('pages', function(Blueprint $table) { |
|
| 29 | 29 | $table->dropColumn('page'); |
| 30 | 30 | }); |
| 31 | 31 | } |