id incrementing typo fix

This commit is contained in:
Jill 2023-01-03 15:47:58 +03:00
parent daa1e74533
commit 7da5bbf575
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module CrystalGauntlet::IDs
next_id
else
next_id = id + 1
DATABASE.exec("update next_id set id = ?", next_id)
DATABASE.exec("update next_id set id = ? where name = ?", next_id, key)
return next_id
end
end