mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* move sql files into its own folder. * move outdated updates out of the update folder, sorted by github tags * split up the db dump so my editor doesn't try to hang itself if i dare to touch that file
26 lines
1023 B
SQL
26 lines
1023 B
SQL
DROP TABLE IF EXISTS `aowow_areatrigger`;
|
|
CREATE TABLE `aowow_areatrigger` (
|
|
`id` int unsigned NOT NULL,
|
|
`cuFlags` int unsigned NOT NULL DEFAULT 0 COMMENT 'see defines.php for flags',
|
|
`type` smallint unsigned NOT NULL,
|
|
`mapId` smallint unsigned NOT NULL COMMENT 'world pos. from dbc',
|
|
`posX` float NOT NULL COMMENT 'world pos. from dbc',
|
|
`posY` float NOT NULL COMMENT 'world pos. from dbc',
|
|
`orientation` float NOT NULL,
|
|
`name` varchar(100) DEFAULT NULL,
|
|
`quest` mediumint unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `quest` (`quest`),
|
|
KEY `type` (`type`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
|
ALTER TABLE `aowow_zones`
|
|
CHANGE COLUMN `parentAreaId` `parentMapId` smallint unsigned NOT NULL;
|
|
|
|
DELETE FROM aowow_setup_custom_data WHERE
|
|
`command` = 'zones' AND
|
|
`entry` IN (3456, 3845, 3847, 3848, 3849) AND
|
|
`field` IN ('parentAreaId', 'parentX', 'parentY');
|
|
|
|
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' areatrigger zones spawns');
|