-- scopes: compat_msgstore
-- rename columns from go-storage/emsgstore:messages to scopes:messages

alter table messages rename id  to trackid;
alter table messages rename tstamp  to timestamp;
alter table messages rename payload  to data;
