I am having trouble with what I would think is a pretty simple constraint issue in postgres.
Ruinning:
ALTER TABLE rss_feed_list ADD CONSTRAINT status_type CHECK (feed_status = 'active' OR feed_status 'inactive');
returns the error:
ERROR: type "feed_status" does not exist
feed_status 'inactive'?