> I'm not sure how to add constraints to already existing tables, so you > might wanna do this in a test table, move your data over, then rename > tables to swap in the new table.
ALTER TABLE ... ADD CONSTRAINT