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:
James Brooks
2021-04-01 15:47:53 +01:00
committed by GitHub

View File

@@ -35,7 +35,7 @@ class AlterJobsDropReserved extends Migration
public function down()
{
Schema::table('jobs', function (Blueprint $table) {
$table->tinyInteger('reserved')->unsigned()->after('attempts');
$table->tinyInteger('reserved')->unsigned()->default(0)->after('attempts');
});
}
}