Created
January 9, 2017 15:49
-
-
Save roylee0704/68db82695708d26469976f967c37535d to your computer and use it in GitHub Desktop.
unique constraints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE `gb_n_incentive` ADD CONSTRAINT `sp_id` UNIQUE `sp_id` (`sp_id`,`incentive_program_id`,`term_weeks`); | |
ALTER TABLE `gb_n_incentive` DROP INDEX `sp_id`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment