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
Add database schema update and database migration logic (#520)
* add db migration logic and a test for it
* make Job and JobDefinition records extendable
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* make updated_job_model a fixture
* add return types to test_orm fixtures
* refactor update_db_schema logic into a separate function
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* make initial_db return a tuple
* improve naming clarity
* remove a level of intendation in update_db_schema
* Ignore nullability and default values during the db migration, document the fact via comments
* improve update_db_schema accordingly to comments
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments