summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/schema.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.lua b/db/schema.lua
index 6cee99f..13a550f 100644
--- a/db/schema.lua
+++ b/db/schema.lua
@@ -26,7 +26,7 @@ local function schemafy(schema)
for i,v in ipairs(have_cols_r) do
v.notnull = v.notnull ~= 0
have_cols[v.name] = v
- if not want_cols[v.name] then
+ if not want_cols[v.name] and v.name ~= 'id' then
print("warning, extraneous column:",tablename,v.name)
end
end