-- 1526611275 UP move-address-to-data
UPDATE vendors v
set data = CONCAT('{ '
, ' :address { ' 
, ' :street1 "' , v.address1 , '" ' 
, ' :street2 "' , v.address2 , '" '
, ' :city "' , v.city , '" '
, ' :state "' , v.state , '" '
, ' :zip "' , v.zip , '" '
, ' }'
, ' }');


alter table vendors drop column address1;
alter table vendors drop column address2;
alter table vendors drop column city;
alter table vendors drop column state;
alter table vendors drop column zip;
