Broly
New Member
- Joined
- Dec 29, 2008
- Messages
- 30
- Reaction score
- 0
Hello i tryed to use this from Znote from http://otland.net/threads/znote-aac-1-4-tfs-0-2-13-tfs-0-3-6-0-4.166722/
and when i try and put it in SQL i get this error:
CREATE TABLE IF NOT EXISTS `znote_guild_wars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `limit` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
did i not do this right?
and when i try and put it in SQL i get this error:
CREATE TABLE IF NOT EXISTS `znote_guild_wars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `limit` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
did i not do this right?