Skip to content

Implement parameter substitution for migrations #3847

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

krlohnes
Copy link

Does your PR solve an issue?

fixes #3178

Is this a breaking change?

No. The addition of fields to the Migrator is semver exempt, The MigrateError enum is #[non-exhaustive]. The new macro functionality retains the existing functionality of the crate and should be backward compatible. I'm making the assumption that changes to the function signatures of sqlx-cli are not considered breaking, but please correct me if I'm wrong there.

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

Successfully merging this pull request may close these issues.

Add migration parameters or the possibility of passing migrations by string
1 participant