CREATE UNIQUE INDEX idx_events_uid ON events(uid);