Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let Room name be unique within each event #394

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

amatsuda
Copy link
Collaborator

Currently, rooms.name is constrained to be unique within the whole database, but in the real world, conference venues tend to name their room very similarly, for instance, "Room A, Room B, Room C..." or "101, 102, 103...". So we have to somehow workaround on cfp-app by prefixing or suffixing year or something.

I don't think there's any use case that requires the Room names to be unique across the years, thus this attribute doesn't have to be DB unique but should better be unique per event.

@amatsuda amatsuda force-pushed the room_name_uniqueness_per_event branch from 03e4ee1 to 6bdd67a Compare November 14, 2024 12:29
@amatsuda amatsuda force-pushed the room_name_uniqueness_per_event branch from 6bdd67a to 0e7ee21 Compare November 14, 2024 12:39
@amatsuda amatsuda merged commit 4baf5f8 into rubycentral:main Nov 14, 2024
1 check passed
@amatsuda amatsuda deleted the room_name_uniqueness_per_event branch November 14, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant