From 342384599f6165bda528a12ea3b301802c3c19e3 Mon Sep 17 00:00:00 2001 From: "Tom K.H. Lin" <3011850@gmail.com> Date: Sun, 5 Aug 2018 14:31:01 +0800 Subject: [PATCH] add migration file for receiver and casebulder table in DB --- ...8_05_062733_add_timestamp_for_receiver.php | 32 +++++++++++++++++++ ...5_062842_add_timestamp_for_casebuilder.php | 32 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 database/migrations/2018_08_05_062733_add_timestamp_for_receiver.php create mode 100644 database/migrations/2018_08_05_062842_add_timestamp_for_casebuilder.php diff --git a/database/migrations/2018_08_05_062733_add_timestamp_for_receiver.php b/database/migrations/2018_08_05_062733_add_timestamp_for_receiver.php new file mode 100644 index 0000000..466cba9 --- /dev/null +++ b/database/migrations/2018_08_05_062733_add_timestamp_for_receiver.php @@ -0,0 +1,32 @@ +timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('Receiver', function (Blueprint $table) { + $table->dropTimestamps(); + }); + } +} diff --git a/database/migrations/2018_08_05_062842_add_timestamp_for_casebuilder.php b/database/migrations/2018_08_05_062842_add_timestamp_for_casebuilder.php new file mode 100644 index 0000000..3909912 --- /dev/null +++ b/database/migrations/2018_08_05_062842_add_timestamp_for_casebuilder.php @@ -0,0 +1,32 @@ +timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('CaseBuilder', function (Blueprint $table) { + $table->dropTimestamps(); + }); + } +}