berlindb / core

All of the required core code
MIT License
252 stars 27 forks source link

Set db version default to 1 #157

Closed robincornett closed 1 year ago

robincornett commented 1 year ago

Fixes #156

Proposed Changes: Sets the default value for getting the table version from the database to 1, an arbitrary and low number. This won't affect creating new tables, but if a table exists and does not have a version number, it will allow upgrades to be collected and run.