summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton <anton@picapica>2016-08-30 22:19:01 +0400
committerAnton <anton@picapica>2016-08-30 22:19:01 +0400
commit15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0 (patch)
tree5e7ba3d6a079331265de2ad0b20cc7248c333f95
parentd2991d30b0062bfd2ad3ae272ccac8acf7a4997d (diff)
downloadpica-pica-15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0.tar.gz
pica-pica-15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0.zip
fixed schema update
-rw-r--r--pica-client/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/main.cpp b/pica-client/main.cpp
index fcfa3c1..018374b 100644
--- a/pica-client/main.cpp
+++ b/pica-client/main.cpp
@@ -385,6 +385,7 @@ static bool update_database()
if (query.lastError().isValid())
goto showerror;
+ query.exec("insert into schema_version values (3, strftime('%s','now'));");
schema_ver = 3;
}