ALTER TABLE posts ADD COLUMN version INT NOT NULL DEFAULT 0;