mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 11:52:32 +01:00
*Added another column for version table - by Zor
--HG-- branch : trunk
This commit is contained in:
2
sql/updates/919_world.sql
Normal file
2
sql/updates/919_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE version
|
||||
ADD `core_revision` BIGINT UNSIGNED AFTER `core_version`;
|
||||
@@ -140,4 +140,6 @@ INSTALL(FILES
|
||||
871_world.sql
|
||||
884_world.sql
|
||||
905_world_scripts.sql
|
||||
917_world.sql
|
||||
919_world.sql
|
||||
DESTINATION share/trinity/sql/updates)
|
||||
|
||||
@@ -459,7 +459,7 @@ bool Master::_StartDB()
|
||||
clearOnlineAccounts();
|
||||
|
||||
///- Insert version info into DB
|
||||
WorldDatabase.PExecute("UPDATE `version` SET `core_version` = '%s'", _FULLVERSION);
|
||||
WorldDatabase.PExecute("UPDATE `version` SET `core_version` = '%s', `core_rev` = '%s'", _FULLVERSION, _REVISION);
|
||||
|
||||
sWorld.LoadDBVersion();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user