You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2021. It is now read-only.
There should be a way to version defined schema. This will be important to allow for writing automated migration scripts. This could be something added to the primary key of the struct:
typeMyStructstruct {
IDint`e2db:"id,v=1"`
}
where implicitly it is schema version 0, or it could be implicit to the types themselves based upon a deterministic hash of the fields. In either case the key structure will have to change to allow for the schema version to be inserted into the key (probably just after the table name).