Skip to content

Commit

Permalink
Merge pull request #4253 from pavog/patch-1
Browse files Browse the repository at this point in the history
Set the default value for the "reserved" column to 0 (instead of null)
  • Loading branch information
jbrooksuk committed Apr 1, 2021
2 parents a86a3d8 + b765592 commit cf86f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function up()
public function down()
{
Schema::table('jobs', function (Blueprint $table) {
$table->tinyInteger('reserved')->unsigned()->after('attempts');
$table->tinyInteger('reserved')->unsigned()->default(0)->after('attempts');
});
}
}

0 comments on commit cf86f65

Please sign in to comment.