InvokeAI/invokeai/app/services/shared/sqlite_migrator
psychedelicious f0c70fe3f1 fix(db): add error handling for workflow migration
- Handle an image file not existing despite being in the database.
- Add a simple pydantic model that tests only for the existence of a workflow's version.
- Check against this new model when migrating workflows, skipping if the workflow fails validation. If it succeeds, the frontend should be able to handle the workflow.
2023-12-14 10:16:56 +11:00
..
migrations fix(db): add error handling for workflow migration 2023-12-14 10:16:56 +11:00
__init__.py feat(db): move sqlite_migrator into its own module 2023-12-11 16:41:30 +11:00
sqlite_migrator_common.py fix(db): raise a MigrationVersionError when invalid versions are used 2023-12-13 11:21:16 +11:00
sqlite_migrator_impl.py fix(db): rename "SQLiteMigrator" -> "SqliteMigrator" 2023-12-13 11:31:15 +11:00