mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
* Replace old `account`.`online` field by `account`.`active_realm_id`. It have 0 if account offline. NOTE: this break all scripts that use `online` field for seelct online characters, and it required update. But from other side this reolve * Bug with reset online state active realm at restart another realm. * Let easy select online accounts for some specific realm if need. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
5 lines
250 B
SQL
5 lines
250 B
SQL
ALTER TABLE realmd_db_version CHANGE COLUMN required_8332_01_realmd_realmcharacters required_8728_01_realmd_account bit;
|
|
|
|
ALTER TABLE account
|
|
DROP COLUMN online,
|
|
ADD COLUMN active_realm_id int(11) unsigned NOT NULL default '0' AFTER last_login;
|