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 has been archived by the owner on Oct 11, 2024. It is now read-only.
One remaining task mentioned in #793 that we have not implemented yet is database migrations. In short, database migrations are a way to change or modify the schema of our database so that it is compatible with corresponding changes in the rest of the code, ideally without losing data.
For SQL, we should look at https://github.com/golang-migrate/migrate, which is a tool that works with a variety of different database backends (most important for us is SQLite and Postgres). We should probably also use https://github.com/jteeuwen/go-bindata to embed migration source files so that we can continue to ship Mesh as a single binary file.
Dexie.js has some rudimentary support for migrations built-in. Take a look at the onversionchange and version methods.
The text was updated successfully, but these errors were encountered:
albrow
added
db
Issues related to the db package
tech debt
A code quality issue is not urgent but could cause problems down the line if not addressed
labels
Aug 14, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
dbIssues related to the db packagetech debtA code quality issue is not urgent but could cause problems down the line if not addressed
One remaining task mentioned in #793 that we have not implemented yet is database migrations. In short, database migrations are a way to change or modify the schema of our database so that it is compatible with corresponding changes in the rest of the code, ideally without losing data.
For SQL, we should look at https://github.com/golang-migrate/migrate, which is a tool that works with a variety of different database backends (most important for us is SQLite and Postgres). We should probably also use
https://github.com/jteeuwen/go-bindata
to embed migration source files so that we can continue to ship Mesh as a single binary file.Dexie.js has some rudimentary support for migrations built-in. Take a look at the
onversionchange
and version methods.The text was updated successfully, but these errors were encountered: