summaryrefslogtreecommitdiff
path: root/src/account-server
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-09-30 00:10:58 -0400
committerChuck Miller <shadowmil@gmail.com>2009-09-30 10:53:09 -0400
commit54217640c85a97341df7395a9acc39a0b819692d (patch)
tree2dde32830743f62b303438f7c2326d6e8eda3656 /src/account-server
parent1847d5ac2a5a93fa66d1b98a986ca7072a86037e (diff)
downloadmanaserv-54217640c85a97341df7395a9acc39a0b819692d.tar.gz
manaserv-54217640c85a97341df7395a9acc39a0b819692d.tar.bz2
manaserv-54217640c85a97341df7395a9acc39a0b819692d.tar.xz
manaserv-54217640c85a97341df7395a9acc39a0b819692d.zip
Adds tmw_char_status_effects tables to mySQL and SQLite
Diffstat (limited to 'src/account-server')
-rw-r--r--src/account-server/dalstorage.cpp2
-rw-r--r--src/account-server/dalstoragesql.hpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/account-server/dalstorage.cpp b/src/account-server/dalstorage.cpp
index 7e27ae50..4628eca5 100644
--- a/src/account-server/dalstorage.cpp
+++ b/src/account-server/dalstorage.cpp
@@ -41,7 +41,7 @@
// defines the supported db version
#define DB_VERSION_PARAMETER "database_version"
-#define SUPPORTED_DB_VERSION "5"
+#define SUPPORTED_DB_VERSION "6"
/**
diff --git a/src/account-server/dalstoragesql.hpp b/src/account-server/dalstoragesql.hpp
index 1661baa6..cab3aea9 100644
--- a/src/account-server/dalstoragesql.hpp
+++ b/src/account-server/dalstoragesql.hpp
@@ -76,6 +76,11 @@ static const char *CHARACTERS_TBL_NAME = "tmw_characters";
static const char *CHAR_SKILLS_TBL_NAME = "tmw_char_skills";
/**
+ * TABLE: tmw_char_status_effects.
+ */
+static const char *CHAR_STATUS_EFFECTS_TBL_NAME = "tmw_char_status_effects";
+
+/**
* TABLE: tmw_inventories.
*/
static const char *INVENTORIES_TBL_NAME("tmw_inventories");