aboutsummaryrefslogtreecommitdiff
path: root/migrations/0003-unique-state-key.sql
blob: 1d19219fc9ac5b31e92a6f1d633238dcff8eb0c0 (plain) (blame)
1
2
ALTER TABLE bot_state DROP CONSTRAINT IF EXISTS setting_unique;
ALTER TABLE bot_state ADD CONSTRAINT setting_unique UNIQUE (setting);