From 7b187929881570281036b779a518f3f4608b51a8 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 15 Nov 2010 19:04:51 +0100 Subject: Upgrade database version to 12 as it should have been from the latest update. Trivial fix. --- src/account-server/storage.cpp | 2 +- src/sql/mysql/createTables.sql | 2 +- src/sql/sqlite/createTables.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/account-server/storage.cpp b/src/account-server/storage.cpp index feb5922f..e6e164c8 100644 --- a/src/account-server/storage.cpp +++ b/src/account-server/storage.cpp @@ -39,7 +39,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 = "11"; +static const char *SUPPORTED_DB_VERSION = "12"; /* * MySQL specificities: diff --git a/src/sql/mysql/createTables.sql b/src/sql/mysql/createTables.sql index 167359d5..e080ec69 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,'11', NOW()); +INSERT INTO mana_world_states VALUES('database_version', NULL,'12', NOW()); -- all known transaction codes diff --git a/src/sql/sqlite/createTables.sql b/src/sql/sqlite/createTables.sql index 0345b9eb..6ce52900 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,'11', strftime('%s','now')); +INSERT INTO mana_world_states VALUES('database_version', NULL,'12', strftime('%s','now')); -- all known transaction codes -- cgit v1.2.3-70-g09d2