.
.
.
troubleshooting
troubleshooting
PatchDatabase.patch: to accept a Bool for whether find the max index in database and use that plus 1 for new items.