8 lines
406 B
MySQL
8 lines
406 B
MySQL
|
|
-- Theme simplification: collapse catalog to light + dark.
|
||
|
|
-- Migrates any leftover 'dark-green' values back to safe defaults.
|
||
|
|
-- Idempotent — re-runs are a no-op because the WHERE clauses filter
|
||
|
|
-- on the exact legacy value that the preceding run already replaced.
|
||
|
|
|
||
|
|
UPDATE users SET theme = 'light' WHERE theme = 'dark-green';
|
||
|
|
UPDATE tenants SET default_theme = NULL WHERE default_theme = 'dark-green';
|