From e8b92eb473d50a1646ce69f5d2e4e843c7d58a0b Mon Sep 17 00:00:00 2001 From: "Tom K.H. Lin" <3011850@gmail.com> Date: Sat, 11 Aug 2018 14:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=91=BD=E5=90=8D=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=90=8D=E7=A8=B1=EF=BC=9Apassword=5Fresets->password?= =?UTF-8?q?=5Fresets=5Ffor=5Freceiver;=20=E6=96=B0=E5=A2=9E=E5=85=A9?= =?UTF-8?q?=E5=80=8B=E8=B3=87=E6=96=99=E5=BA=AB=E9=81=B7=E7=A7=BB=E6=AA=94?= =?UTF-8?q?password=5Fresets=5Ffor=5Fadmin=E5=92=8Cpassword=5Fresets=5Ffor?= =?UTF-8?q?=5Fcasebuilder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ..._11_054402_rename_reset_password_table.php | 32 +++++++++++++++++++ ..._password_resets_for_casebuilder_table.php | 32 +++++++++++++++++++ ...create_password_resets_for_admin_table.php | 32 +++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 database/migrations/2018_08_11_054402_rename_reset_password_table.php create mode 100644 database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php create mode 100644 database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php diff --git a/database/migrations/2018_08_11_054402_rename_reset_password_table.php b/database/migrations/2018_08_11_054402_rename_reset_password_table.php new file mode 100644 index 0000000..3a21185 --- /dev/null +++ b/database/migrations/2018_08_11_054402_rename_reset_password_table.php @@ -0,0 +1,32 @@ +rename('password_resets_for_receiver'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('password_resets_for_receiver', function (Blueprint $table) { + $table->rename('password_resets'); + }); + } +} 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 new file mode 100644 index 0000000..efef8dd --- /dev/null +++ b/database/migrations/2018_08_11_055429_create_password_resets_for_casebuilder_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets_for_casebuilder'); + } +} 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 new file mode 100644 index 0000000..aad68fd --- /dev/null +++ b/database/migrations/2018_08_11_055542_create_password_resets_for_admin_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets_for_admin'); + } +}