alter table search_history add column updated integer NOT NULL DEFAULT 0; UPDATE config SET value = '15' WHERE key = 'version';