You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15799.down

12 lines
324 B

USE provisioning;
SET autocommit=0;
ALTER TABLE voip_preferences_enum
DROP FOREIGN KEY `pref_id_fk`,
DROP KEY IF EXISTS `pref_id_idx`;
ALTER TABLE voip_preferences_enum
ADD CONSTRAINT `pref_id_fk` FOREIGN KEY (`preference_id`) REFERENCES `voip_preferences` (`id`) ON UPDATE CASCADE ON DELETE CASCADE;
COMMIT;