rename model in singular
This commit is contained in:
@@ -21,7 +21,7 @@ return new class extends Migration
|
||||
$table->dateTime("end");
|
||||
$table->integer('max_participants');
|
||||
|
||||
$table->foreignId("events_id")->constrained("events")->onDelete("cascade");
|
||||
$table->foreignId("event_id")->constrained("events")->onDelete("cascade");
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user