-
Notifications
You must be signed in to change notification settings - Fork 820
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: schema migrator utility #8720
Conversation
This pull request introduces 1 alert when merging 1f65b1c into 81cc461 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, but the CI is failing.
ad5928b
to
0b6c4fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We should probably track the lack of a real documentation link.
👋 Hi, this pull request was referenced in the v6.4.0 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v6.4.0. |
Description of changes
Refactor the migration tool to be behind a new command
amplify migrate api
instead of running during the push workflow. Also fixes several bugs, most importantly that the migrator now works with schemas that are split across multiple files.This PR does NOT change the actual migration behavior, ie. schemas are still translated in the same way.
Issue #, if available
Description of how you validated changes
Manual testing at this point. Need to write some unit tests but going ahead and publishing the PR
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.