Update custom-bg migration to support data.

master
Snakes 2022-12-04 19:06:44 -05:00
parent 5850bb26fa
commit ac26c2581d
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
alter table users alter column background type varchar(30); alter table users alter column background type varchar(40); -- solarpunk/xx.webp ones are 32 chars, plus leave headroom
update users set background='/i/backgrounds/' || background || '.webp' where background is not null; update users set background='/i/backgrounds/' || background || '.webp' where background is not null;