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); |
To add a unique contraint for two table fileds, simply execute the following command:
ALTER TABLE scene_commands ADD UNIQUE (scene_id, command_id); |
Follow Us!