diff options
author | Oliver Stöneberg <firewave@users.noreply.github.com> | 2018-01-14 02:37:04 +0100 |
---|---|---|
committer | cracyc <cracyc@users.noreply.github.com> | 2018-01-13 19:37:04 -0600 |
commit | f911ab286989d8dee8cb63aeff17e558d46abc9d (patch) | |
tree | 00e6de705f39064605f4d099479e8328640033c3 | |
parent | 49ec473b6c90b80c01ec729c58d123afad63dd37 (diff) |
plugins/data: fixed table lookup (nw)
-rw-r--r-- | plugins/data/database.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/data/database.lua b/plugins/data/database.lua index b67bdca1f07..5925766dcfe 100644 --- a/plugins/data/database.lua +++ b/plugins/data/database.lua @@ -12,7 +12,7 @@ end if db then local found = false - db:exec("select * from sqlite_master where name = version", function() found = true return 0 end) + db:exec("select * from sqlite_master where name = 'version'", function() found = true return 0 end) if not found then db:exec([[ CREATE TABLE version ( |