From df388217e48aa8a83a62452bc54591736f82c177 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 16 Oct 2018 22:47:28 -0600 Subject: [PATCH] Add new migration --- ..._033327_update_status_add_scope_column.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2018_10_17_033327_update_status_add_scope_column.php diff --git a/database/migrations/2018_10_17_033327_update_status_add_scope_column.php b/database/migrations/2018_10_17_033327_update_status_add_scope_column.php new file mode 100644 index 00000000..31d565a7 --- /dev/null +++ b/database/migrations/2018_10_17_033327_update_status_add_scope_column.php @@ -0,0 +1,32 @@ +string('scope')->default('public')->index()->after('is_nsfw'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('statuses', function (Blueprint $table) { + $table->dropColumn('scope'); + }); + } +}