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

Rewrite raw SQL operations using a SQL transformer #330

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

andrew-farries
Copy link
Collaborator

Use the SQL transformer to transform the up and down fields of a raw SQL migration.

Builds on #329 which added a SQLTransformer option to rewrite user-supplied SQL.

Ensure that raw SQL operations are rewritten using the supplied SQL
transformer.
@andrew-farries andrew-farries merged commit 0673b1b into main Mar 27, 2024
44 checks passed
@andrew-farries andrew-farries deleted the transform-raw-sql branch March 27, 2024 10:59
andrew-farries added a commit that referenced this pull request Mar 28, 2024
…operations (#333)

Revert #315 as there is no longer a demonstrated need for this option.

The `WithSQLTransformer` option was added (#329) and can be used to
transform raw SQL operations in #330, removing the need for the
`WithRawSQLURL` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants