-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database schema update v1 #151
Comments
Copying the checklist from #134:
|
When it comes to testing the migrations, how do we feel about generating a small database with all the edge cases we can think of (comments, variables, images, etc) and storing it and the HDF5 files in git? The tests would then migrate the database and check the results. |
I might store the SQL to recreate the database, rather than the binary database file, assuming the extra size isn't enough to be a problem. Then it's transparent what it does, and easy to add to if we think of more corner cases. If you make the database, you can ask SQLite to dump it out as SQL instructions, so we don't have to write this by hand. |
But other than that, it sounds like a good plan. 👍 |
Changes to the storage format between the original #134 and today:
(commenting to get this right in my head) |
Database v1 is successfully deployed and most of the existing database have been migrated. |
No description provided.
The text was updated successfully, but these errors were encountered: