Sep 05

Add table constraint: UNIQUE

Tag: MySqlberrisch @ 11:38 am

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

ALTER TABLE scene_commands ADD UNIQUE (scene_id, command_id);

Leave a Reply