castis/seaforium — Issue #29: MYSQL file #27 problem?
Author: chrisgwynne
Created: 2011-11-22 02:51:36+00:00
State: open

Error
SQL query:

ALTER TABLE `threads` CHANGE `category` `category` INT( 2 ) NULL DEFAULT '0' ALTER TABLE `threads` ADD CONSTRAINT `FK_threads_category` FOREIGN KEY ( `category` ) REFERENCES `categories` ( `category_id` ) ON UPDATE NO ACTION ON DELETE NO ACTION ;

MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE `threads` ADD CONSTRAINT `FK_threads_category` FOREIGN KEY (`catego' at line 2

Problem running the last MYSQL file.