From 9f380a55973d7c83323835bb38d57676ebf7c511 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 27 Apr 2021 20:04:15 -0600 Subject: [PATCH] Add new migration --- ..._24_045522_add_active_to_stories_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2021_04_24_045522_add_active_to_stories_table.php diff --git a/database/migrations/2021_04_24_045522_add_active_to_stories_table.php b/database/migrations/2021_04_24_045522_add_active_to_stories_table.php new file mode 100644 index 000000000..be3bab9dd --- /dev/null +++ b/database/migrations/2021_04_24_045522_add_active_to_stories_table.php @@ -0,0 +1,32 @@ +boolean('active')->nullable()->index(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('stories', function (Blueprint $table) { + $table->dropColumn('active'); + }); + } +}