Archive for September 5th, 2008

Add table constraint: UNIQUE

To add a unique contraint for two table fileds, simply execute the following command:

ALTER TABLE scene_commands ADD UNIQUE (scene_id, command_id);