diff options
| author | Anton <anton@picapica> | 2016-08-30 22:19:01 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-08-30 22:19:01 +0400 |
| commit | 15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0 (patch) | |
| tree | 5e7ba3d6a079331265de2ad0b20cc7248c333f95 | |
| parent | d2991d30b0062bfd2ad3ae272ccac8acf7a4997d (diff) | |
| download | pica-pica-15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0.tar.gz pica-pica-15b2d1edd9a0d9f258f6ac38eeb9d2a5aaec21c0.zip | |
fixed schema update
| -rw-r--r-- | pica-client/main.cpp | 1 |
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; } |
