Skip to content

Commit be7b262

Browse files
committed
Make password_resets.created_at nullable
Prevents MySQL assigning default CURRENT_TIMESTAMP Related issue: laravel/framework#11518
1 parent 47d7e2d commit be7b262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2014_10_12_100000_create_password_resets_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function up()
1515
Schema::create('password_resets', function (Blueprint $table) {
1616
$table->string('email')->index();
1717
$table->string('token')->index();
18-
$table->timestamp('created_at');
18+
$table->timestamp('created_at')->nullable();
1919
});
2020
}
2121

0 commit comments

Comments
 (0)