uuid('id')->primary(); $table->foreignId('user_id')->constrained()->cascadeOnDelete(); $table->string('type', 100); $table->json('data'); $table->timestamp('read_at')->nullable(); $table->timestamp('created_at')->nullable(); }); } public function down(): void { Schema::dropIfExists('notifications'); } };