A free open source IT asset/license management system
Added migration
snipe8fe63952870c
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.phpnew file mode 100644index 0000000000..a6e03fd697--- /dev/null+++ b/database/migrations/2024_08_07_204014_add_play_sounds_to_profile.php@@ -0,0 +1,28 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::table('users', function (Blueprint $table) {+ $table->boolean('enable_sounds')->default(false);+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::table('users', function (Blueprint $table) {+ $table->dropColumn('enable_sounds');+ });+ }+};