plugins/data: fixed table lookup (nw)

This commit is contained in:
Oliver Stöneberg 2018-01-14 02:37:04 +01:00 committed by cracyc
parent 49ec473b6c
commit f911ab2869

View File

@ -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 (