Created
January 26, 2012 19:37
-
-
Save higj/1684611 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
SQL query: | |
-- | |
-- Constraints for table `blog_comments` | |
-- | |
ALTER TABLE `blog_comments` ADD CONSTRAINT `blog_comments_ibfk_1` FOREIGN KEY ( `blogid` ) REFERENCES `intva109_phpbook`.`blog` ( | |
`id` | |
) ON DELETE CASCADE ON UPDATE CASCADE ; | |
MySQL said: Documentation | |
#1005 - Can't create table 'phpguide.#sql-674_b2' (errno: 150) (Details...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment