alter table messages add column counter_id text not null;