mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
added missing sql updates
This commit is contained in:
parent
605b0eb942
commit
4942544127
3 changed files with 72 additions and 1 deletions
|
|
@ -4838,6 +4838,32 @@ INSERT INTO `pet_name_generation` (`id`, `word`, `entry`, `half`) VALUES
|
||||||
/*!40000 ALTER TABLE `pet_name_generation` ENABLE KEYS */;
|
/*!40000 ALTER TABLE `pet_name_generation` ENABLE KEYS */;
|
||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `phase_definitions`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `phase_definitions`;
|
||||||
|
CREATE TABLE `phase_definitions` (
|
||||||
|
`zoneId` mediumint(7) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`entry` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`phasemask` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`phaseId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`terrainswapmap` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`flags` tinyint(3) unsigned DEFAULT '0',
|
||||||
|
`condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`comment` text,
|
||||||
|
PRIMARY KEY (`zoneId`,`entry`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `phase_definitions`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `phase_definitions` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `phase_definitions` DISABLE KEYS */;
|
||||||
|
/*!40000 ALTER TABLE `phase_definitions` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `pickpocketing_loot_template`
|
-- Table structure for table `pickpocketing_loot_template`
|
||||||
--
|
--
|
||||||
|
|
@ -21296,6 +21322,27 @@ CREATE TABLE `spell_pet_auras` (
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `spell_phase`
|
||||||
|
--
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `spell_phase`;
|
||||||
|
CREATE TABLE `spell_phase` (
|
||||||
|
`id` mediumint(7) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`phasemask` bigint(20) unsigned NOT NULL DEFAULT '1',
|
||||||
|
`terrainswapmap` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `spell_phase`
|
||||||
|
--
|
||||||
|
|
||||||
|
LOCK TABLES `spell_phase` WRITE;
|
||||||
|
/*!40000 ALTER TABLE `spell_phase` DISABLE KEYS */;
|
||||||
|
/*!40000 ALTER TABLE `spell_phase` ENABLE KEYS */;
|
||||||
|
UNLOCK TABLES;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Table structure for table `spell_proc_event`
|
-- Table structure for table `spell_proc_event`
|
||||||
--
|
--
|
||||||
|
|
|
||||||
24
sql/updates/12751_01_mangos_phase.sql
Normal file
24
sql/updates/12751_01_mangos_phase.sql
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
DROP TABLE IF EXISTS `phase_definitions`;
|
||||||
|
CREATE TABLE `phase_definitions` (
|
||||||
|
`zoneId` mediumint(7) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`entry` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`phasemask` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`phaseId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`terrainswapmap` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`flags` tinyint(3) unsigned DEFAULT '0',
|
||||||
|
`condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`comment` text,
|
||||||
|
PRIMARY KEY (`zoneId`,`entry`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `spell_phase`;
|
||||||
|
CREATE TABLE `spell_phase` (
|
||||||
|
`id` mediumint(7) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`phasemask` bigint(20) unsigned NOT NULL DEFAULT '1',
|
||||||
|
`terrainswapmap` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `quest_phase_maps`;
|
||||||
|
|
||||||
|
ALTER TABLE db_version CHANGE COLUMN required_12741_01_mangos required_12751_01_mangos_phase bit;
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __REVISION_SQL_H__
|
#ifndef __REVISION_SQL_H__
|
||||||
#define __REVISION_SQL_H__
|
#define __REVISION_SQL_H__
|
||||||
#define REVISION_DB_CHARACTERS "required_12712_01_characters_characters"
|
#define REVISION_DB_CHARACTERS "required_12712_01_characters_characters"
|
||||||
#define REVISION_DB_MANGOS "required_12741_01_mangos"
|
#define REVISION_DB_MANGOS "required_12751_01_mangos_phase"
|
||||||
#define REVISION_DB_REALMD "required_c12484_02_realmd_account_access"
|
#define REVISION_DB_REALMD "required_c12484_02_realmd_account_access"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue