Passed
Pull Request — master (#14)
by
unknown
15:46
created
migrations/2018_11_04_011300_add_url_and_page_field_to_repeaters_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('repeaters', function (Blueprint $table) {
16
+        Schema::table('repeaters', function(Blueprint $table) {
17 17
             $table->string('url')->nullable()->default(null)->after('slug');
18 18
             $table->string('page')->nullable()->default('default')->after('url');
19 19
         });
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function down()
28 28
     {
29
-        Schema::table('repeaters', function (Blueprint $table) {
29
+        Schema::table('repeaters', function(Blueprint $table) {
30 30
             $table->dropColumn('url');
31 31
             $table->dropColumn('page');
32 32
         });
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000005_create_contents_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
database/migrations/2018_11_18_182300_create_modules_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('modules', function (Blueprint $table) {
16
+        Schema::create('modules', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('slug');
Please login to merge, or discard this patch.
database/migrations/2017_12_27_164940_create_repeaters_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('repeaters', function (Blueprint $table) {
16
+        Schema::create('repeaters', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('slug');
19 19
             $table->longText('json');
Please login to merge, or discard this patch.
database/migrations/2018_12_05_011300_add_page_field_to_pages_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
migrations/2020_12_07_140740_add_lang_field_to_page_blocks_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('page_blocks', function (Blueprint $table) {
16
+        Schema::table('page_blocks', function(Blueprint $table) {
17 17
             $table->string('lang')->nullable()->default(null)->after('order');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('page_blocks', function (Blueprint $table) {
28
+        Schema::table('page_blocks', function(Blueprint $table) {
29 29
             $table->dropColumn('lang');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
database/migrations/2020_04_16_171110_add_roles_field_to_pages_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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('roles')->nullable()->default(null)->after('active');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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('roles');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
migrations/2018_01_01_000001_add_active_token_field_to_users_table.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@  discard block
 block discarded – undo
14 14
     public function up()
15 15
     {
16 16
         if (!Schema::hasColumn('users', 'token')) {
17
-            Schema::table('users', function (Blueprint $table) {
17
+            Schema::table('users', function(Blueprint $table) {
18 18
                 $table->string('token', 24)->unique()->after('remember_token');
19 19
             });
20 20
         }
21 21
 
22 22
         if (!Schema::hasColumn('users', 'active')) {
23
-            Schema::table('users', function (Blueprint $table) {
23
+            Schema::table('users', function(Blueprint $table) {
24 24
                 $table->tinyInteger('active')->default(0)->after('token');
25 25
             });
26 26
         }
@@ -34,13 +34,13 @@  discard block
 block discarded – undo
34 34
     public function down()
35 35
     {
36 36
         if (Schema::hasColumn('users', 'token')) {
37
-            Schema::table('users', function (Blueprint $table) {
37
+            Schema::table('users', function(Blueprint $table) {
38 38
                 $table->dropColumn('token');
39 39
             });
40 40
         }
41 41
 
42 42
         if (Schema::hasColumn('users', 'active')) {
43
-            Schema::table('users', function (Blueprint $table) {
43
+            Schema::table('users', function(Blueprint $table) {
44 44
                 $table->dropColumn('active');
45 45
             });
46 46
         }
Please login to merge, or discard this patch.
database/migrations/2017_12_19_225247_create_pages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.