Add explicit conference event identity with guarded legacy migration
Metadata integrity checks / metadata (push) Successful in 1m14s

This commit is contained in:
2026-11-08 20:39:40 +08:00
parent 1b81d1a30a
commit c3aeee6323
15 changed files with 525 additions and 12 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ CREATE TABLE IF NOT EXISTS venues (
CREATE TABLE IF NOT EXISTS editions (
id INTEGER PRIMARY KEY, venue_id INTEGER NOT NULL REFERENCES venues(id),
year INTEGER NOT NULL, track TEXT NOT NULL DEFAULT 'main',
UNIQUE(venue_id,year,track)
event_key TEXT NOT NULL DEFAULT '',
UNIQUE(venue_id,year,track,event_key)
);
CREATE TABLE IF NOT EXISTS venue_aliases (
venue_id INTEGER NOT NULL REFERENCES venues(id), alias TEXT NOT NULL,