ALTER TABLE revision_meta.commit_regions ADD COLUMN notified boolean;
ALTER TABLE revision_meta.commit_regions ALTER COLUMN notified SET DEFAULT FALSE;
UPDATE revision_meta.commit_regions SET notified=FALSE WHERE notified IS NULL;

ALTER TABLE revision_meta.commit_regions
    ADD CONSTRAINT not_published_and_notified
    CHECK (NOT (NOT published AND notified));
