From ac26c2581dd5d35c3a418da67ae907a176e6a779 Mon Sep 17 00:00:00 2001 From: Snakes Date: Sun, 4 Dec 2022 19:06:44 -0500 Subject: [PATCH] Update custom-bg migration to support data. --- migrations/20221204-custom-background.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20221204-custom-background.sql b/migrations/20221204-custom-background.sql index c5ac2e967..f24959b04 100644 --- a/migrations/20221204-custom-background.sql +++ b/migrations/20221204-custom-background.sql @@ -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;