Last active
January 5, 2017 19:29
-
-
Save jayar95/91227e17156bcc658b7333fa3be1c76c to your computer and use it in GitHub Desktop.
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 `appointments` | |
ADD COLUMN `outcome` INT(10) UNSIGNED NULL DEFAULT NULL COMMENT '' AFTER `campaign`, | |
ADD INDEX `fk_appointments_disposition1_idx` (`outcome` ASC) COMMENT ''; | |
ALTER TABLE `appointments` | |
ADD CONSTRAINT `fk_appointments_disposition1` | |
FOREIGN KEY (`disposition`) | |
REFERENCES `disposition` (`id`) | |
ON DELETE NO ACTION | |
ON UPDATE NO ACTION; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment