diff options
| author | Kinzcool <kinzzcool@hotmail.com> | 2014-06-18 23:25:57 -0400 |
|---|---|---|
| committer | Kinzcool <kinzzcool@hotmail.com> | 2014-06-18 23:25:57 -0400 |
| commit | 34572492dd1394dbeaf19bb697a7af8cbf0b6ef7 (patch) | |
| tree | 97bf1565a0d871629d43a3016fb7f56e038e1cb0 /sql | |
| parent | 05d17b700d8a679bca2a16dd5d63c94fe3ab99b9 (diff) | |
| parent | f71abd173ebad2da329c04f5ea3b1d8704007303 (diff) | |
Merge branch '4.3.4_phases' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/2014_06_02_00_world_phases_434.sql | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sql/updates/world/2014_06_02_00_world_phases_434.sql b/sql/updates/world/2014_06_02_00_world_phases_434.sql new file mode 100644 index 00000000000..1c1b0a19f23 --- /dev/null +++ b/sql/updates/world/2014_06_02_00_world_phases_434.sql @@ -0,0 +1,31 @@ +DROP TABLE IF EXISTS `spell_phase`; +DROP TABLE IF EXISTS `phase_definitions`; + +/*Table structure for table `phase_definitions` */ + +DROP TABLE IF EXISTS `phase_definitions`; + +CREATE TABLE `phase_definitions` ( + `zoneId` int(10) unsigned NOT NULL DEFAULT '0', + `entry` int(10) unsigned NOT NULL AUTO_INCREMENT, + `phaseId` int(10) unsigned NOT NULL DEFAULT '0', + `phaseGroup` int(10) NOT NULL DEFAULT '0', + `comment` text, + PRIMARY KEY (`zoneId`,`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +/*Table structure for table `phase_info` */ + +DROP TABLE IF EXISTS `phase_info`; + +CREATE TABLE `phase_info` ( + `id` int(10) unsigned NOT NULL DEFAULT '0', + `worldmapareaswap` int(10) unsigned NOT NULL DEFAULT '0', + `terrainswapmap` int(10) unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +ALTER TABLE `transports` + ADD COLUMN `phaseid` INT(10) NOT NULL DEFAULT 0 AFTER `name`, + ADD COLUMN `phasegroup` INT(10) NOT NULL DEFAULT 0 AFTER `phaseid`;
\ No newline at end of file |
