diff options
-rw-r--r-- | src/account-server/storage.cpp | 2 | ||||
-rw-r--r-- | src/sql/mysql/createTables.sql | 2 | ||||
-rw-r--r-- | src/sql/mysql/updates/update_10_to_11.sql (renamed from src/sql/mysql/updates/update_9_to_10.sql) | 2 | ||||
-rw-r--r-- | src/sql/sqlite/createTables.sql | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/account-server/storage.cpp b/src/account-server/storage.cpp index e740b103..71a78359 100644 --- a/src/account-server/storage.cpp +++ b/src/account-server/storage.cpp @@ -40,7 +40,7 @@ static const char *DEFAULT_ITEM_FILE = "items.xml"; // defines the supported db version static const char *DB_VERSION_PARAMETER = "database_version"; -static const char *SUPPORTED_DB_VERSION = "10"; +static const char *SUPPORTED_DB_VERSION = "11"; /* * MySQL specificities: diff --git a/src/sql/mysql/createTables.sql b/src/sql/mysql/createTables.sql index 03129815..a76cc337 100644 --- a/src/sql/mysql/createTables.sql +++ b/src/sql/mysql/createTables.sql @@ -420,7 +420,7 @@ AUTO_INCREMENT=0 ; INSERT INTO mana_world_states VALUES('accountserver_startup',NULL,NULL, NOW()); INSERT INTO mana_world_states VALUES('accountserver_version',NULL,NULL, NOW()); -INSERT INTO mana_world_states VALUES('database_version', NULL,'10', NOW()); +INSERT INTO mana_world_states VALUES('database_version', NULL,'11', NOW()); -- all known transaction codes diff --git a/src/sql/mysql/updates/update_9_to_10.sql b/src/sql/mysql/updates/update_10_to_11.sql index 5bb722a8..66922f14 100644 --- a/src/sql/mysql/updates/update_9_to_10.sql +++ b/src/sql/mysql/updates/update_10_to_11.sql @@ -46,4 +46,4 @@ CREATE TABLE IF NOT EXISTS `mana_char_equips` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -UPDATE mana_world_states SET value = '10', moddate = UNIX_TIMESTAMP() WHERE state_name = 'database_version'; +UPDATE mana_world_states SET value = '11', moddate = UNIX_TIMESTAMP() WHERE state_name = 'database_version'; diff --git a/src/sql/sqlite/createTables.sql b/src/sql/sqlite/createTables.sql index 94aabdad..8c57e45d 100644 --- a/src/sql/sqlite/createTables.sql +++ b/src/sql/sqlite/createTables.sql @@ -405,7 +405,7 @@ AS INSERT INTO mana_world_states VALUES('accountserver_startup',NULL,NULL, strftime('%s','now')); INSERT INTO mana_world_states VALUES('accountserver_version',NULL,NULL, strftime('%s','now')); -INSERT INTO mana_world_states VALUES('database_version', NULL,'10', strftime('%s','now')); +INSERT INTO mana_world_states VALUES('database_version', NULL,'11', strftime('%s','now')); -- all known transaction codes |