ALTER TABLE events 
ADD COLUMN replaced INTEGER NOT NULL DEFAULT 0;
