ALTER TABLE contact ADD COLUMN sent_count integer NOT NULL DEFAULT 0; UPDATE config SET value = '2' WHERE key = 'version';