Forgot the ->change() method

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-09-20 15:42:25 -07:00
parent b331bb33d9
commit c59c7337a5

View file

@ -16,12 +16,12 @@ class ChangeDefaultLabelToNullable extends Migration
*/ */
public function up() public function up()
{ {
Schema::table('nullable', function (Blueprint $table) {
Schema::table('status_labels', function (Blueprint $table) { Schema::table('status_labels', function (Blueprint $table) {
$table->boolean('default_label')->nullable()->default(0); $table->boolean('default_label')->nullable()->default(0)->change();
$table->boolean('show_in_nav')->nullable()->default(0); $table->boolean('show_in_nav')->nullable()->default(0)->change();
});
}); });
} }
/** /**
@ -31,8 +31,6 @@ class ChangeDefaultLabelToNullable extends Migration
*/ */
public function down() public function down()
{ {
Schema::table('nullable', function (Blueprint $table) {
// //
});
} }
} }