fix table name

This commit is contained in:
2023-05-19 13:41:38 +10:00
parent 8e94ab2d7d
commit cce2a79ee4

View File

@@ -19,8 +19,8 @@ return new class extends Migration
$table->uuid('user_id');
$table->timestamps();
$table->foreign('event_id')->references('id')->on('event')->onDelete('cascade');
$table->foreign('user_id')->references('id')->on('user')->onDelete('cascade');
$table->foreign('event_id')->references('id')->on('events')->onDelete('cascade');
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
});
}