mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Factions
* fix switched base rep field indizes, causing Profiler to miscalculate character standing * replace hardcoded sql table prefixes
This commit is contained in:
@@ -863,8 +863,8 @@ CREATE TABLE `aowow_factions` (
|
||||
`baseRepClassMask4` mediumint(8) unsigned NOT NULL,
|
||||
`baseRepValue1` mediumint(9) NOT NULL,
|
||||
`baseRepValue2` mediumint(9) NOT NULL,
|
||||
`baseRepValue4` mediumint(9) NOT NULL,
|
||||
`baseRepValue3` mediumint(9) NOT NULL,
|
||||
`baseRepValue4` mediumint(9) NOT NULL,
|
||||
`side` tinyint(3) unsigned NOT NULL,
|
||||
`expansion` tinyint(3) unsigned NOT NULL,
|
||||
`qmNpcIds` varchar(12) NOT NULL COMMENT 'space separated',
|
||||
|
||||
8
setup/sql/updates/1760979719_01.sql
Normal file
8
setup/sql/updates/1760979719_01.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE `aowow_factions`
|
||||
DROP COLUMN `baseRepValue3`,
|
||||
DROP COLUMN `baseRepValue4`,
|
||||
ADD COLUMN `baseRepValue3` mediumint(9) NOT NULL AFTER `baseRepValue2`,
|
||||
ADD COLUMN `baseRepValue4` mediumint(9) NOT NULL AFTER `baseRepValue3`
|
||||
;
|
||||
|
||||
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' factions');
|
||||
Reference in New Issue
Block a user