From 8fe63952870c1451220854dffbd702cd618e1b8a Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 7 Aug 2024 20:41:13 +0100 Subject: [PATCH] Added migration Signed-off-by: snipe --- ...8_07_204014_add_play_sounds_to_profile.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_08_07_204014_add_play_sounds_to_profile.php diff --git a/database/migrations/2024_08_07_204014_add_play_sounds_to_profile.php b/database/migrations/2024_08_07_204014_add_play_sounds_to_profile.php new file mode 100644 index 0000000000..a6e03fd697 --- /dev/null +++ b/database/migrations/2024_08_07_204014_add_play_sounds_to_profile.php @@ -0,0 +1,28 @@ +boolean('enable_sounds')->default(false); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('enable_sounds'); + }); + } +};