Skip to content

Commit

Permalink
Removing drop FKs from migration
Browse files Browse the repository at this point in the history
  • Loading branch information
davedash committed Dec 9, 2010
1 parent 6924206 commit c55b277
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions migrations/103-cascade.sql
@@ -1,9 +1,7 @@
ALTER TABLE `log_activity_user`
MODIFY COLUMN `user_id` INT(11) UNSIGNED NOT NULL;

ALTER TABLE `log_activity_user` DROP FOREIGN KEY `user_id_refs_id_e987c199`;

ALTER TABLE `remora`.`log_activity_user`
ALTER TABLE `log_activity_user`
ADD CONSTRAINT `user_id_refs_id_e987c199`
FOREIGN KEY `user_id_refs_id_e987c199` (`user_id`)
REFERENCES `users` (`id`)
Expand Down

0 comments on commit c55b277

Please sign in to comment.