chore: prepare for merge with a different branch with a migration

This commit is contained in:
rladenson 2024-12-05 17:38:15 -07:00
parent 82b57de3e3
commit e3776e3b1e
2 changed files with 3 additions and 3 deletions

View file

@ -1,11 +0,0 @@
-- database version 49
-- change proxy switch config to an enum
alter table system_config
alter column proxy_switch drop default,
alter column proxy_switch type int
using case when proxy_switch then 1 else 0 end,
alter column proxy_switch set default 0,
add constraint proxy_switch_check check (proxy_switch = ANY (ARRAY[0,1,2]));
update info set schema_version = 49;