Merge pull request #4253 from pavog/patch-1
Set the default value for the "reserved" column to 0 (instead of null)
This commit is contained in:
@@ -35,7 +35,7 @@ class AlterJobsDropReserved extends Migration
|
|||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::table('jobs', function (Blueprint $table) {
|
Schema::table('jobs', function (Blueprint $table) {
|
||||||
$table->tinyInteger('reserved')->unsigned()->after('attempts');
|
$table->tinyInteger('reserved')->unsigned()->default(0)->after('attempts');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user