adding jsonb was easy. should just need to run this conversion routine:
adding jsonb was easy. should just need to run this conversion routine:

begin;
alter table blog_datum_derivative rename attributes to attributes_old;
alter table photos_photo_derivative rename attributes to attributes_old;
alter table blog_datum_derivative add attributes jsonb;
alter table photos_photo_derivative add attributes jsonb;
update blog_datum_derivative set attributes = attributes_old::jsonb;
update photos_photo_derivative set attributes = attributes_old::jsonb;
alter table blog_datum_derivative drop attributes_old;
alter table photos_photo_derivative drop attributes_old;
commit;

plockaby/paullockaby.com,plockaby/paullockaby.com