mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
*Merged db_version and script_db_version table in one table - by Zor
--HG-- branch : trunk
This commit is contained in:
8
sql/updates/917_world.sql
Normal file
8
sql/updates/917_world.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE `version` (
|
||||
`core_version` varchar(120) default NULL COMMENT 'Core revision dumped at startup.',
|
||||
`db_version` varchar(120) default NULL COMMENT 'Version of world DB.',
|
||||
`script_version` varchar(120) default NULL COMMENT 'Version of scripts DB.'
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes';
|
||||
INSERT INTO version (core_version, db_version, script_version) VALUES ("",(SELECT version FROM db_version),(SELECT version FROM script_db_version));
|
||||
DROP TABLE IF EXISTS db_version;
|
||||
DROP TABLE IF EXISTS script_db_version;
|
||||
Reference in New Issue
Block a user