Passed
Push — master ( 0f5253...9796fd )
by Karel
08:02
created
database/migrations/2017_12_19_225450_create_templates_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('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');
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.
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.
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.
migrations/2018_01_01_000001_add_active_token_field_to_users_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('users', function (Blueprint $table) {
16
+        Schema::table('users', function(Blueprint $table) {
17 17
             $table->string('token', 24)->unique()->after('remember_token');
18 18
             $table->tinyInteger('active')->default(0)->after('token');
19 19
         });
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function down()
29 29
     {
30
-        Schema::table('users', function (Blueprint $table) {
30
+        Schema::table('users', function(Blueprint $table) {
31 31
             $table->dropColumn('token');
32 32
             $table->dropColumn('active');
33 33
         });
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000000_create_permission_tables.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,21 +15,21 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $tableNames = config('permission.table_names');
17 17
 
18
-        Schema::create($tableNames['permissions'], function (Blueprint $table) {
18
+        Schema::create($tableNames['permissions'], function(Blueprint $table) {
19 19
             $table->increments('id');
20 20
             $table->string('name');
21 21
             $table->string('guard_name');
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Schema::create($tableNames['roles'], function (Blueprint $table) {
25
+        Schema::create($tableNames['roles'], function(Blueprint $table) {
26 26
             $table->increments('id');
27 27
             $table->string('name');
28 28
             $table->string('guard_name');
29 29
             $table->timestamps();
30 30
         });
31 31
 
32
-        Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames) {
32
+        Schema::create($tableNames['model_has_permissions'], function(Blueprint $table) use ($tableNames) {
33 33
             $table->unsignedInteger('permission_id');
34 34
             $table->morphs('model');
35 35
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $table->primary(['permission_id', 'model_id', 'model_type']);
42 42
         });
43 43
 
44
-        Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames) {
44
+        Schema::create($tableNames['model_has_roles'], function(Blueprint $table) use ($tableNames) {
45 45
             $table->unsignedInteger('role_id');
46 46
             $table->morphs('model');
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $table->primary(['role_id', 'model_id', 'model_type']);
54 54
         });
55 55
 
56
-        Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames) {
56
+        Schema::create($tableNames['role_has_permissions'], function(Blueprint $table) use ($tableNames) {
57 57
             $table->unsignedInteger('permission_id');
58 58
             $table->unsignedInteger('role_id');
59 59
 
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.
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
         });
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function down()
29 29
     {
30
-        Schema::table('repeaters', function (Blueprint $table) {
30
+        Schema::table('repeaters', function(Blueprint $table) {
31 31
             $table->dropColumn('url');
32 32
             $table->dropColumn('page');
33 33
         });
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.