mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Forgot the ->change() method
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b331bb33d9
commit
c59c7337a5
|
@ -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) {
|
//
|
||||||
//
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue