From 5054769398f0b18ec6af400c3738f7bcd3b9a5f6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 30 Nov 2018 19:55:49 -0700 Subject: [PATCH] Add new migration --- ..._12_01_020238_add_type_to_status_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2018_12_01_020238_add_type_to_status_table.php diff --git a/database/migrations/2018_12_01_020238_add_type_to_status_table.php b/database/migrations/2018_12_01_020238_add_type_to_status_table.php new file mode 100644 index 00000000..a7fe1c36 --- /dev/null +++ b/database/migrations/2018_12_01_020238_add_type_to_status_table.php @@ -0,0 +1,32 @@ +string('type')->index()->nullable()->after('profile_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('statuses', function (Blueprint $table) { + $table->dropColumn('type'); + }); + } +}