alter table sys_settings alter column setting type text using setting::text;
alter table user_settings alter column setting type text using setting::text;