Commit be7b2627 authored by Sara Bine's avatar Sara Bine

Make password_resets.created_at nullable

Prevents MySQL assigning default CURRENT_TIMESTAMP
Related issue: laravel/framework#11518
parent 47d7e2d4
......@@ -15,7 +15,7 @@ class CreatePasswordResetsTable extends Migration
Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
$table->timestamp('created_at')->nullable();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment