id incrementing typo fix
This commit is contained in:
parent
daa1e74533
commit
7da5bbf575
|
@ -12,7 +12,7 @@ module CrystalGauntlet::IDs
|
||||||
next_id
|
next_id
|
||||||
else
|
else
|
||||||
next_id = id + 1
|
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
|
return next_id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue