CREATE UNIQUE INDEX IF NOT EXISTS idx_commemorative_dates_global_unique ON commemorative_dates (date, name, category) WHERE client_id IS NULL;