Biden Trump round 2 breaks our naming conventions
Opened this issue · 0 comments
nedtwigg commented
Lol, classic database schema problem. Our enforced naming convention is:
- {LastNameAlphabetically1}-{LastNameAlphabetically2}-{number}-of-{count}.
- e.g.
biden-trump-1-of-2
But of course, this year there are only two debates scheduled, so this year's first debate would have the exact same slug as last year's. We enforce this naming convention like so:
us-presidential-debates/build.gradle
Lines 8 to 22 in 12b6757
- In #13 I worked around this by making it
2024-biden-trump-1-of-2
, and turning off the validation logic above for anything in 2024. Probably someday we should rename the other debates to have ayyyy-
in front, but we'll need perfect redirects.