Skip to content
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

fix: do not throw NotImplemented error for existing "legacy database"file if the file is not a sqlite file #147

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

falconandy
Copy link
Contributor

Summary

Possible fix for DataMigration NotImplementedError.
Data migration already checks if the Database file exists and skips the migration if it doesn't.
But if the file exists but it is not a sqlite database for some reason - NotImplemented error is thrown.
Now migration is skipped in both cases.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@falconandy falconandy force-pushed the AMP-83907-data-migration-not-implemented-error branch from 5de71e7 to 38d56c5 Compare September 6, 2023 18:19
@justin-fiedler justin-fiedler merged commit 3e0b851 into main Sep 13, 2023
2 checks passed
@justin-fiedler justin-fiedler deleted the AMP-83907-data-migration-not-implemented-error branch September 13, 2023 19:32
@justin-fiedler justin-fiedler linked an issue Sep 13, 2023 that may be closed by this pull request
github-actions bot pushed a commit that referenced this pull request Sep 13, 2023
## [1.11.1](v1.11.0...v1.11.1) (2023-09-13)

### Bug Fixes

* do not throw NotImplemented error for existing "legacy database"file if the file is not a sqlite file ([#147](#147)) ([3e0b851](3e0b851))
@github-actions
Copy link

🎉 This PR is included in version 1.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataMigration NotImplementedError
2 participants