Is there an sql constraint that enables you to disallow certain values in a column?
e.g.
ALTER TABLE foo ADD COLUMN code TEXT NOT NULL UNIQUE DISALLOW '<GENERATE>' ; s.t. <GENERATE> could be used safely in the application to indicate that the value should be generated before persisting without risking its accidentally being pushed to DB?