diff --git a/database/migrations/2023_07_11_080040_add_show_reblogs_to_followers_table.php b/database/migrations/2023_07_11_080040_add_show_reblogs_to_followers_table.php new file mode 100644 index 000000000..d84433747 --- /dev/null +++ b/database/migrations/2023_07_11_080040_add_show_reblogs_to_followers_table.php @@ -0,0 +1,30 @@ +boolean('show_reblogs')->default(true)->index()->after('local_following'); + $table->boolean('notify')->default(false)->index()->after('show_reblogs'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('followers', function (Blueprint $table) { + $table->dropColumn('show_reblogs'); + $table->dropColumn('notify'); + }); + } +};