Created
March 9, 2011 00:34
-
-
Save jhannah/861451 to your computer and use it in GitHub Desktop.
mysql errno: 150
This file contains hidden or 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 video_stats | |
ADD CONSTRAINT `video_stats_ibfk_1` FOREIGN KEY (`video_id`) REFERENCES `videos` (`id`) ON DELETE CASCADE, | |
ADD CONSTRAINT `video_stats_ibfk_2` FOREIGN KEY (`harvester_run_id`) REFERENCES `harvester_runs` (`id`) ON DELETE NO ACTION, | |
ADD CONSTRAINT `video_stats_ibfk_3` FOREIGN KEY (`raw_feed_id`) REFERENCES `raw_feeds` (`id`) ON DELETE NO ACTION; | |
ERROR 1005 (HY000): Can't create table 'channelmeter_staging.#sql-6c0a_1' (errno: 150) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment