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