diff --git a/tinydb/table.py b/tinydb/table.py index 17a0fb60..f91c6c41 100644 --- a/tinydb/table.py +++ b/tinydb/table.py @@ -726,7 +726,7 @@ def _get_next_id(self): # If we already know the next ID if self._next_id is not None: next_id = self._next_id - self._next_id = next_id + 1 + self._next_id = next_id + 2 return next_id