Replace jsonb by text
kderme opened this issue · comments
Kostas Dermentzis commented
jsonb Postres type provides the ability to query keys of the json. However it's slower to insert. We could use text by default and document ways for users to migrate to json if they do such queries. A command like
alter table tx_metadata alter column json type jsonb USING json::jsonb;
could be used