Skip to content

Commit

Permalink
Make password_resets.created_at nullable
Browse files Browse the repository at this point in the history
Prevents MySQL assigning default CURRENT_TIMESTAMP
Related issue: laravel/framework#11518
  • Loading branch information
sbine committed Jun 23, 2016
1 parent 7e1cba7 commit 0143340
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
$table->timestamp('created_at')->nullable();
});
}

Expand Down

0 comments on commit 0143340

Please sign in to comment.