From 7d48d74cb1b8ed0b42d73d0c86eeff55344d4a15 Mon Sep 17 00:00:00 2001 From: "Tom K.H. Lin" <3011850@gmail.com> Date: Sat, 11 Aug 2018 16:30:43 +0800 Subject: [PATCH] fix migration file error: Schema::table->Schema::create --- ...8_11_055429_create_password_resets_for_casebuilder_table.php | 2 +- ...2018_08_11_055542_create_password_resets_for_admin_table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php b/database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php index efef8dd..61b1868 100644 --- a/database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php +++ b/database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php @@ -13,7 +13,7 @@ class CreatePasswordResetsForCasebuilderTable extends Migration */ public function up() { - Schema::table('password_resets_for_casebuilder', function (Blueprint $table) { + Schema::create('password_resets_for_casebuilder', function (Blueprint $table) { $table->string('email')->index(); $table->string('token'); $table->timestamp('created_at')->nullable(); diff --git a/database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php b/database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php index aad68fd..98361ed 100644 --- a/database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php +++ b/database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php @@ -13,7 +13,7 @@ class CreatePasswordResetsForAdminTable extends Migration */ public function up() { - Schema::table('password_resets_for_admin', function (Blueprint $table) { + Schema::create('password_resets_for_admin', function (Blueprint $table) { $table->string('email')->index(); $table->string('token'); $table->timestamp('created_at')->nullable();