#70 gefixt, wie gewünscht Vorraussetzungen rausgenommen und jeglichen Code entfernt, der mit diesem Feld zu tun hatte.

main
radiskull 13 years ago
parent 742d9b5188
commit 441b03bc10

@ -969,13 +969,10 @@ CREATE TABLE `npc_item` (
`feld` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '', `feld` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`wieviel` int(3) NOT NULL DEFAULT '1', `wieviel` int(3) NOT NULL DEFAULT '1',
`preis` int(50) NOT NULL DEFAULT '0', `preis` int(50) NOT NULL DEFAULT '0',
`req_charakter` int(11) DEFAULT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY `fk_npc_item_charakter` (`charakter`), KEY `fk_npc_item_charakter` (`charakter`),
KEY `fk_npc_item_req_charakter` (`req_charakter`), CONSTRAINT `fk_npc_item_charakter` FOREIGN KEY (`charakter`) REFERENCES `chars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
CONSTRAINT `fk_npc_item_charakter` FOREIGN KEY (`charakter`) REFERENCES `chars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `fk_npc_item_req_charakter` FOREIGN KEY (`req_charakter`) REFERENCES `chars` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --

Loading…
Cancel
Save