Some adjustments for last pull request

This commit is contained in:
sanctum32 2014-01-18 20:52:32 +02:00 committed by Antz
parent 1eb86e16c4
commit 789e6ca379
3 changed files with 6 additions and 2 deletions

View file

@ -1430,7 +1430,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) DEFAULT NULL, `version` varchar(120) DEFAULT NULL,
`creature_ai_version` varchar(120) DEFAULT NULL, `creature_ai_version` varchar(120) DEFAULT NULL,
`cache_id` int(10) DEFAULT '0', `cache_id` int(10) DEFAULT '0',
`required_12712_02_mangos_command` bit(1) default NULL `required_12752_01_mangos_reputation_spillover_template` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
@ -20858,6 +20858,9 @@ CREATE TABLE `reputation_spillover_template` (
`faction4` smallint(6) unsigned NOT NULL DEFAULT '0', `faction4` smallint(6) unsigned NOT NULL DEFAULT '0',
`rate_4` float NOT NULL DEFAULT '0', `rate_4` float NOT NULL DEFAULT '0',
`rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0', `rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0',
`faction5` smallint(6) unsigned DEFAULT '0',
`rate_5` float NOT NULL DEFAULT '0',
`rank_5` tinyint(3) unsigned DEFAULT '0',
PRIMARY KEY (`faction`) PRIMARY KEY (`faction`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain';
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;

View file

@ -1,3 +1,4 @@
ALTER TABLE `db_version` CHANGE `required_12751_01_mangos_phase` `required_12752_01_mangos_reputation_spillover_template` BIT(1) NULL;
ALTER TABLE `reputation_spillover_template` ALTER TABLE `reputation_spillover_template`
ADD COLUMN `faction5` SMALLINT(6) UNSIGNED DEFAULT '0' NOT NULL AFTER `rank_4`, ADD COLUMN `faction5` SMALLINT(6) UNSIGNED DEFAULT '0' NOT NULL AFTER `rank_4`,
ADD COLUMN `rate_5` FLOAT DEFAULT '0' NOT NULL AFTER `faction5`, ADD COLUMN `rate_5` FLOAT DEFAULT '0' NOT NULL AFTER `faction5`,

View file

@ -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_12751_01_mangos_phase" #define REVISION_DB_MANGOS "required_12752_01_mangos_reputation_spillover_template"
#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__