mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7823] Fix ScalingStatValue field size in item_template table.
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
dbf1f4323b
commit
640d46ce1f
4 changed files with 9 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`;
|
|||
CREATE TABLE `db_version` (
|
||||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`required_7796_02_mangos_mangos_string` bit(1) default NULL
|
||||
`required_7823_01_mangos_item_template` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -1712,7 +1712,7 @@ CREATE TABLE `item_template` (
|
|||
`stat_type10` tinyint(3) unsigned NOT NULL default '0',
|
||||
`stat_value10` smallint(6) NOT NULL default '0',
|
||||
`ScalingStatDistribution` smallint(6) NOT NULL default '0',
|
||||
`ScalingStatValue` smallint(6) NOT NULL default '0',
|
||||
`ScalingStatValue` int(6) unsigned NOT NULL default '0',
|
||||
`dmg_min1` float NOT NULL default '0',
|
||||
`dmg_max1` float NOT NULL default '0',
|
||||
`dmg_type1` tinyint(3) unsigned NOT NULL default '0',
|
||||
|
|
|
|||
4
sql/updates/7823_01_mangos_item_template.sql
Normal file
4
sql/updates/7823_01_mangos_item_template.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_7796_02_mangos_mangos_string required_7823_01_mangos_item_template bit;
|
||||
|
||||
ALTER TABLE item_template
|
||||
CHANGE COLUMN ScalingStatValue ScalingStatValue int(6) unsigned NOT NULL default '0';
|
||||
|
|
@ -184,6 +184,7 @@ pkgdata_DATA = \
|
|||
7796_02_mangos_mangos_string.sql \
|
||||
7802_01_characters_character_achievement.sql \
|
||||
7802_02_characters_character_achievement_progress.sql \
|
||||
7823_01_mangos_item_template.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -348,4 +349,5 @@ EXTRA_DIST = \
|
|||
7796_02_mangos_mangos_string.sql \
|
||||
7802_01_characters_character_achievement.sql \
|
||||
7802_02_characters_character_achievement_progress.sql \
|
||||
7823_01_mangos_item_template.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7822"
|
||||
#define REVISION_NR "7823"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue