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

Support DML and Partitioned DML in migration files #36

Closed
wants to merge 2 commits into from

Conversation

RoryQ
Copy link

@RoryQ RoryQ commented Aug 25, 2020

Currently wrench only supports partitioned DML migration files. But this excludes INSERT statements which is useful for seeding databases with static data. This PR adds support for DML in separate migration files.

The current implementation extends the existing use of regexes but happy to discuss more robust approaches that better match what is supported by spanner.

Closes #35

RoryQ and others added 2 commits August 24, 2020 20:54
a loose definition of a paritionedDML is one that does not contain the
INSERT keyword
@kazegusuri kazegusuri closed this Aug 30, 2023
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.

Support INSERT statements in migration scripts
2 participants