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'); + }); + } +}