BEGIN; ALTER TABLE templates ADD COLUMN locked_ttl BIGINT NOT NULL DEFAULT 0; COMMIT;