mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 10:02:27 -04:00
12 lines
203 B
SQL
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
|