Figure out how to infer the pre-0.6 database state and inject migrations.
Related to #38 (closed)
This is especially important if we want to use joins in Diesel, since these would make use of constraints, which are injected in the db with an additional migration.
-
Database migrations are actually quite easy (https://gitlab.com/rubdos/whisperfish/-/issues/39#note_443577576) and are implemented via !37 (merged) -
File migrations need some manual work, but we can actually track them in the database, since we have those migrations. We should have a framework for tracking them.
Edited by Ruben De Smet