id(); $table->foreignId('user_id')->constrained('users')->onDelete('cascade'); $table->text('text')->nullable(); $table->string('status')->nullable(); $table->string('type')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('notifications'); } };