I have a table which is like
CREATE TABLE MyTable(
id INTEGER PRIMARY KEY,
type CHAR(1)
);
Later im my code i try to add an constraint to it with
ALTER TABLE MyTable ADD myCheckConstraint CHECK (type IN ('A', 'B'));
It work fine but when i look at my table there is also a new column named myCheckConstraint, is it normal ? How to just add the constraint without new column ?