From 15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 30 Aug 2016 22:19:01 +0400 Subject: fixed schema update --- pica-client/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'pica-client/main.cpp') 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; } -- cgit v1.2.1