mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table. The update will not work if your database contains characters with an old data field (not fitting to the actual client version). It's recommended to backup your character database before applying this patch. Signed-off-by: hunuza <hunuza@gmail.com>
10 lines
595 B
SQL
10 lines
595 B
SQL
ALTER TABLE character_db_version CHANGE COLUMN required_8030_02_characters_character_action required_8072_01_characters_characters bit;
|
|
|
|
ALTER TABLE characters
|
|
ADD gender TINYINT UNSIGNED NOT NULL default '0' AFTER class,
|
|
ADD level TINYINT UNSIGNED NOT NULL default '0' AFTER gender,
|
|
ADD xp INT UNSIGNED NOT NULL default '0' AFTER level,
|
|
ADD money INT UNSIGNED NOT NULL default '0' AFTER xp,
|
|
ADD playerBytes INT UNSIGNED NOT NULL default '0' AFTER money,
|
|
ADD playerBytes2 INT UNSIGNED NOT NULL default '0' AFTER playerBytes,
|
|
ADD playerFlags INT UNSIGNED NOT NULL default '0' AFTER playerBytes2;
|