Completed
Push — master ( c38bce...f841dc )
by Roberts
05:53 queued 01:18
created
database/migrations/2016_03_07_125412_create_nodes_table.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -12,20 +12,20 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create( 'nodes', function ( Blueprint $table )
15
+        Schema::create('nodes', function(Blueprint $table)
16 16
         {
17
-            $table->uuid( 'id' );
18
-            $table->string( 'name' );
19
-            $table->string( 'slug' );
20
-            $table->uuid( 'parent_id' )->nullable();
21
-            $table->integer( 'lft' )->nullable();
22
-            $table->integer( 'rgt' )->nullable();
23
-            $table->integer( 'depth' )->nullable();
24
-            $table->string( 'content_type' )->nullable();
25
-            $table->integer( 'content_id' )->nullable();
26
-            $table->integer( 'item_position' )->nullable();
27
-            $table->tinyInteger( 'active' )->default( 0 );
28
-            $table->string( 'locale', 6 )->nullable();
17
+            $table->uuid('id');
18
+            $table->string('name');
19
+            $table->string('slug');
20
+            $table->uuid('parent_id')->nullable();
21
+            $table->integer('lft')->nullable();
22
+            $table->integer('rgt')->nullable();
23
+            $table->integer('depth')->nullable();
24
+            $table->string('content_type')->nullable();
25
+            $table->integer('content_id')->nullable();
26
+            $table->integer('item_position')->nullable();
27
+            $table->tinyInteger('active')->default(0);
28
+            $table->string('locale', 6)->nullable();
29 29
             $table->timestamps();
30 30
         } );
31 31
     }
@@ -37,6 +37,6 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function down()
39 39
     {
40
-        Schema::drop( 'nodes' );
40
+        Schema::drop('nodes');
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
migrations/2017_06_07_113300_modify_primary_key_in_settings_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table( 'settings', function ( Blueprint $table )
13
+        Schema::table('settings', function(Blueprint $table)
14 14
         {
15
-            $table->dropColumn( 'id' );
16
-            $table->string( 'name' )->primary()->change();
15
+            $table->dropColumn('id');
16
+            $table->string('name')->primary()->change();
17 17
         } );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
database/migrations/2017_07_14_131200_modify_columns_in_links_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::table( 'links', function( Blueprint $table )
13
+        Schema::table('links', function(Blueprint $table)
14 14
         {
15
-            $table->string( 'title' )->nullable()->change();
16
-            $table->text( 'href' )->nullable()->change();
15
+            $table->string('title')->nullable()->change();
16
+            $table->text('href')->nullable()->change();
17 17
         } );
18 18
     }
19 19
 }
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
database/migrations/2017_06_16_091400_create_redirects_table.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create( 'redirects', function ( Blueprint $table )
15
+        Schema::create('redirects', function(Blueprint $table)
16 16
         {
17 17
             $table->timestamps();
18
-            $table->increments( 'id' );
19
-            $table->text( 'from_url' );
20
-            $table->text( 'to_url' );
18
+            $table->increments('id');
19
+            $table->text('from_url');
20
+            $table->text('to_url');
21 21
         } );
22 22
     }
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this patch.
database/migrations/2017_07_18_122600_create_setting_translations_table.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -10,15 +10,15 @@
 block discarded – undo
10 10
      */
11 11
     public function up()
12 12
     {
13
-        Schema::create( 'setting_translations', function( Blueprint $table )
13
+        Schema::create('setting_translations', function(Blueprint $table)
14 14
         {
15
-            $table->increments( 'id' );
15
+            $table->increments('id');
16 16
             $table->timestamps();
17
-            $table->string( 'setting_name' )->nullable();
18
-            $table->longText( 'value' )->nullable();
19
-            $table->string( 'locale' )->index();
20
-            $table->unique( [ 'setting_name', 'locale' ] );
21
-            $table->foreign( 'setting_name' )->references( 'name' )->on( 'settings' )->onDelete( 'cascade' );
17
+            $table->string('setting_name')->nullable();
18
+            $table->longText('value')->nullable();
19
+            $table->string('locale')->index();
20
+            $table->unique([ 'setting_name', 'locale' ]);
21
+            $table->foreign('setting_name')->references('name')->on('settings')->onDelete('cascade');
22 22
         } );
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
database/migrations/2013_07_25_145943_create_languages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('translator_languages', function ($table) {
15
+        Schema::create('translator_languages', function($table) {
16 16
             $table->increments('id');
17 17
             $table->string('locale', 6)->unique();
18 18
             $table->string('name', 60)->unique();
Please login to merge, or discard this patch.
database/migrations/2017_05_19_130600_create_settings_table.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,13 +12,13 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create( 'settings', function ( Blueprint $table )
15
+        Schema::create('settings', function(Blueprint $table)
16 16
         {
17 17
             $table->timestamps();
18
-            $table->increments( 'id' );
19
-            $table->string( 'type' );
20
-            $table->string( 'name' )->unique();
21
-            $table->text( 'value' )->nullable();
18
+            $table->increments('id');
19
+            $table->string('type');
20
+            $table->string('name')->unique();
21
+            $table->text('value')->nullable();
22 22
         } );
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
database/migrations/2013_07_25_145958_create_translations_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('translator_translations', function ($table) {
15
+        Schema::create('translator_translations', function($table) {
16 16
             $table->increments('id');
17 17
             $table->string('locale', 6);
18 18
             $table->string('namespace', 150)->default('*');
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $table->boolean('locked')->default(false);
24 24
             $table->timestamps();
25 25
             $table->foreign('locale')->references('locale')->on('translator_languages');
26
-            $table->unique(['locale', 'namespace', 'group', 'item']);
26
+            $table->unique([ 'locale', 'namespace', 'group', 'item' ]);
27 27
         });
28 28
     }
29 29
 
Please login to merge, or discard this patch.
database/migrations/2017_05_12_141000_add_meta_columns_to_nodes_table.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::table( 'nodes', function ( Blueprint $table )
15
+        Schema::table('nodes', function(Blueprint $table)
16 16
         {
17
-            $table->string( 'meta_title' )->nullable();
18
-            $table->string( 'meta_author' )->nullable();
19
-            $table->string( 'meta_keywords' )->nullable();
20
-            $table->string( 'meta_description' )->nullable();
17
+            $table->string('meta_title')->nullable();
18
+            $table->string('meta_author')->nullable();
19
+            $table->string('meta_keywords')->nullable();
20
+            $table->string('meta_description')->nullable();
21 21
         } );
22 22
     }
23 23
 
@@ -26,12 +26,12 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function down()
28 28
     {
29
-        Schema::table( 'nodes', function ( Blueprint $table )
29
+        Schema::table('nodes', function(Blueprint $table)
30 30
         {
31
-            $table->dropColumn( 'meta_title' );
32
-            $table->dropColumn( 'meta_author' );
33
-            $table->dropColumn( 'meta_keywords' );
34
-            $table->dropColumn( 'meta_description' );
31
+            $table->dropColumn('meta_title');
32
+            $table->dropColumn('meta_author');
33
+            $table->dropColumn('meta_keywords');
34
+            $table->dropColumn('meta_description');
35 35
         } );
36 36
     }
37 37
 }
Please login to merge, or discard this patch.