Make password_resets.created_at nullable

Prevents MySQL assigning default CURRENT_TIMESTAMP
Related issue: laravel/framework#11518
This commit is contained in:
Sara Bine 2016-06-23 17:14:50 -06:00
parent 47d7e2d490
commit be7b2627ae
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public function up()
Schema::create('password_resets', function (Blueprint $table) { Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index(); $table->string('email')->index();
$table->string('token')->index(); $table->string('token')->index();
$table->timestamp('created_at'); $table->timestamp('created_at')->nullable();
}); });
} }