Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 14 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
38 | 63 | public function down() |
|
39 | { |
||
40 | 63 | Schema::table( |
|
41 | 63 | 'contents', |
|
42 | function (Blueprint $table) { |
||
43 | 63 | $table->removeColumn('type'); |
|
44 | 63 | $table->removeColumn('published'); |
|
45 | 63 | } |
|
46 | 63 | ); |
|
47 | |||
48 | 63 | Schema::table( |
|
49 | 63 | 'revisions', |
|
50 | 63 | function (Blueprint $table) { |
|
51 | 63 | $table->removeColumn('published'); |
|
52 | 63 | } |
|
53 | 63 | ); |
|
54 | 63 | } |
|
55 | } |
||
56 |