Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | if (! Schema::hasColumn('pages', 'css') ) { |
||
17 | Schema::table('pages', function (Blueprint $table) { |
||
18 | $table->longText('css')->nullable()->after('meta'); |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | if (! Schema::hasColumn('pages', 'js') ) { |
||
23 | Schema::table('pages', function (Blueprint $table) { |
||
24 | $table->longText('js')->nullable()->after('css'); |
||
25 | }); |
||
42 |