Core/ObjectMgr: Refactor sInstanceTemplate

This commit is contained in:
leak committed 2011-04-28 22:16:13 +02:00
1 parent 19cab2c508
commit 5aeb4fe794
14 files changed
+81 -58

No files matched your search

-4
View File
@@ -2847,10 +2847,6 @@ DROP TABLE IF EXISTS `instance_template`;
CREATE TABLE `instance_template` (
`map` smallint(5) unsigned NOT NULL,
`parent` int(10) unsigned NOT NULL,
`startLocX` float DEFAULT NULL,
`startLocY` float DEFAULT NULL,
`startLocZ` float DEFAULT NULL,
`startLocO` float DEFAULT NULL,
`script` varchar(128) NOT NULL DEFAULT '',
`allowMount` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`map`)
@@ -0,0 +1,6 @@
ALTER TABLE `instance_template`
DROP COLUMN `startLocX`,
DROP COLUMN `startLocY`,
DROP COLUMN `startLocZ`,
DROP COLUMN `startLocO`,
CHANGE `parent` `parent` SMALLINT(5) UNSIGNED NOT NULL;