alter table foo add constraint check_positive check (some_code in ('A','B'));
ALTER TABLE foo ADD CHECK (column_1 > 2);