Skip to content

Instantly share code, notes, and snippets.

@higj

higj/sql query fail

Created Jan 26, 2012
Embed
What would you like to do?
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