From a5895b1655be3e81f451844a911eab8b798fa7ab Mon Sep 17 00:00:00 2001
From: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Date: Tue, 25 Oct 2011 21:14:13 +0200
Subject: End the confusion about the missing upgrade script

Version 15 was skipped, and we'll never go back. Renamed the 15_to_16
update scripts to 14_to_16 to avoid confusing everybody who wants to
update their DBs.

Reviewed-by: Yohann Ferreira
---
 src/sql/sqlite/updates/update_14_to_16.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 src/sql/sqlite/updates/update_14_to_16.sql

(limited to 'src/sql/sqlite/updates/update_14_to_16.sql')

diff --git a/src/sql/sqlite/updates/update_14_to_16.sql b/src/sql/sqlite/updates/update_14_to_16.sql
new file mode 100644
index 00000000..aa5d4646
--- /dev/null
+++ b/src/sql/sqlite/updates/update_14_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';
-- 
cgit v1.2.3-70-g09d2

