Passed
Pull Request — master (#22)
by Karel
15:03 queued 07:06
created
database/migrations/2031_00_00_000000_add_css_js_column_to_pages_table.php 1 patch
Spacing   +3 added lines, -3 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('pages', 'css')) {
17
-            Schema::table('pages', function (Blueprint $table) {
17
+            Schema::table('pages', function(Blueprint $table) {
18 18
                 $table->longText('css')->nullable()->after('meta');
19 19
             });
20 20
         }
21 21
 
22 22
         if (!Schema::hasColumn('pages', 'js')) {
23
-            Schema::table('pages', function (Blueprint $table) {
23
+            Schema::table('pages', function(Blueprint $table) {
24 24
                 $table->longText('js')->nullable()->after('css');
25 25
             });
26 26
         }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function down()
35 35
     {
36
-        Schema::table('pages', function (Blueprint $table) {
36
+        Schema::table('pages', function(Blueprint $table) {
37 37
             $table->dropColumn('js');
38 38
             $table->dropColumn('css');
39 39
         });
Please login to merge, or discard this patch.