diff options
| author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-09-08 23:59:59 +0200 |
|---|---|---|
| committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-09-08 23:59:59 +0200 |
| commit | 40a31c52aebc19221cc9da8a0f764d21e672937b (patch) | |
| tree | 9b9f9df81828f3674838c3f01154e1fa194abee6 /src/sql/sqlite | |
| parent | fbd91b3538eb486df428f48fb9c47b7c5596ec73 (diff) | |
| parent | 082a88a7ac74e52fd5d239e1e974731a9a7b3fdc (diff) | |
| download | manaserv-40a31c52aebc19221cc9da8a0f764d21e672937b.tar.gz manaserv-40a31c52aebc19221cc9da8a0f764d21e672937b.tar.xz manaserv-40a31c52aebc19221cc9da8a0f764d21e672937b.zip | |
Merge github.com:mana/manaserv
Conflicts:
src/account-server/storage.cpp
src/game-server/mapreader.cpp
src/sql/mysql/createTables.sql
Diffstat (limited to 'src/sql/sqlite')
| -rw-r--r-- | src/sql/sqlite/createTables.sql | 2 | ||||
| -rw-r--r-- | src/sql/sqlite/updates/update_15_to_16.sql | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/sql/sqlite/createTables.sql b/src/sql/sqlite/createTables.sql index 2b4f7aa..f353b8e 100644 --- a/src/sql/sqlite/createTables.sql +++ b/src/sql/sqlite/createTables.sql @@ -407,7 +407,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,'15', strftime('%s','now')); +INSERT INTO mana_world_states VALUES('database_version', NULL,'16', strftime('%s','now')); -- all known transaction codes diff --git a/src/sql/sqlite/updates/update_15_to_16.sql b/src/sql/sqlite/updates/update_15_to_16.sql new file mode 100644 index 0000000..aa5d464 --- /dev/null +++ b/src/sql/sqlite/updates/update_15_to_16.sql @@ -0,0 +1,7 @@ +-- No changes required. It was only an issue with mysql. + +-- Update the database version, and set date of update +UPDATE mana_world_states + SET value = '16', + moddate = strftime('%s','now') + WHERE state_name = 'database_version'; |
