Passed
Pull Request — master (#14)
by
unknown
15:46
created
database/migrations/2020_04_16_162350_add_redirect_field_to_roles_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('roles', function (Blueprint $table) {
16
+        Schema::table('roles', function(Blueprint $table) {
17 17
             $table->string('redirect')->default('dashboard')->after('guard_name');
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('roles', function (Blueprint $table) {
28
+        Schema::table('roles', function(Blueprint $table) {
29 29
             $table->dropColumn('redirect');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
database/migrations/2017_12_25_173854_create_resources_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('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');
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000003_create_forms_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('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');
Please login to merge, or discard this patch.
database/migrations/2017_12_25_163145_create_page_blocks_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('page_blocks', function (Blueprint $table) {
16
+        Schema::create('page_blocks', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('page_id');
19 19
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000002_create_sites_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('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');
Please login to merge, or discard this patch.
migrations/2021_08_26_140550_add_soft_deletes_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->softDeletes();
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('repeaters', function (Blueprint $table) {
28
+        Schema::table('repeaters', function(Blueprint $table) {
29 29
             $table->dropSoftDeletes();
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000004_create_form_entries_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('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');
Please login to merge, or discard this patch.
database/migrations/2018_11_03_200125_create_redirects_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('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');
Please login to merge, or discard this patch.
database/migrations/2017_08_11_074006_create_chck_menu_items_table.php 1 patch
Spacing   +3 added lines, -3 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::create(config('menu.table_prefix').config('menu.table_name_items'), function (Blueprint $table) {
16
+        Schema::create(config('menu.table_prefix') . config('menu.table_name_items'), function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('label');
19 19
             $table->string('link');
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             $table->integer('depth')->default(0);
25 25
             $table->timestamps();
26 26
 
27
-            $table->foreign('menu')->references('id')->on(config('menu.table_prefix').config('menu.table_name_menus'))
27
+            $table->foreign('menu')->references('id')->on(config('menu.table_prefix') . config('menu.table_name_menus'))
28 28
             ->onDelete('cascade')
29 29
             ->onUpdate('cascade');
30 30
         });
@@ -37,6 +37,6 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function down()
39 39
     {
40
-        Schema::dropIfExists(config('menu.table_prefix').config('menu.table_name_items'));
40
+        Schema::dropIfExists(config('menu.table_prefix') . config('menu.table_name_items'));
41 41
     }
42 42
 }
Please login to merge, or discard this patch.