Fixes #3211 with improvements to reverse migration (#3212)

Fixes #3211
This commit is contained in:
Nikolay 2017-10-31 21:34:48 +03:00 committed by Luke Towers
parent c7a3354dfd
commit 2239f988d2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class DbJobsFailedJobsUpdate extends Migration
public function down()
{
Schema::table($this->getTableName(), function (Blueprint $table) {
$table->tinyInteger('reserved')->unsigned();
$table->tinyInteger('reserved')->unsigned()->default(0);
$table->dropIndex('jobs_queue_reserved_at_index');
});