forked from rDrama/rDrama
1
0
Fork 0
rDrama/migrations/20231104-allow-multiple-sid...

4 lines
250 B
MySQL
Raw Normal View History

2023-11-04 22:03:26 +00:00
alter table holes add column sidebarurls character varying(60)[] default '{}'::character varying[] not null;
update holes set sidebarurls = array_append(sidebarurls, sidebarurl) WHERE sidebarurl is not null;
alter table holes drop column sidebarurl;