Remove foreign key from znote_guild_wars table.

Because it will break the schema import on databases based on TFS 0.3 that doesnt have the source guild_wars table.
This commit is contained in:
Znote 2020-02-29 13:52:05 +01:00
parent 36bd6f6ad1
commit d186d513e0

View File

@ -202,8 +202,8 @@ CREATE TABLE IF NOT EXISTS `znote_deleted_characters` (
CREATE TABLE IF NOT EXISTS `znote_guild_wars` ( CREATE TABLE IF NOT EXISTS `znote_guild_wars` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`limit` int(11) NOT NULL DEFAULT '0', `limit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`), PRIMARY KEY (`id`)
FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE --,FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB; ) ENGINE=InnoDB;
-- Helpdesk system -- Helpdesk system