1
0
mirror of https://github.com/balkian/gists.git synced 2024-12-22 14:28:12 +00:00
gists/convert json to jsonb in postgres/convert

2 lines
62 B
Plaintext
Raw Normal View History

2015-04-13 19:09:56 +00:00
alter table t alter column j type jsonb using j::text::jsonb;