Files
Compass/backend/scripts/2025-04-26-init-empty-social-links.sql
2025-08-27 21:30:05 +02:00

12 lines
203 B
SQL

-- historical hotfix. you shouldn't need to run this
update users
set
data = jsonb_set(
data,
'{link}',
coalesce((data -> 'link'), '{}'::jsonb),
true
)
where
data -> 'link' is null