mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Make password_resets.created_at nullable
Prevents MySQL assigning default CURRENT_TIMESTAMP Related issue: laravel/framework#11518
This commit is contained in:
parent
47d7e2d490
commit
be7b2627ae
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user