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

Add the baseline feature #164

Closed
larochef opened this issue Oct 19, 2022 · 2 comments · Fixed by #167
Closed

Add the baseline feature #164

larochef opened this issue Oct 19, 2022 · 2 comments · Fixed by #167
Assignees
Labels
enhancement New feature or request

Comments

@larochef
Copy link

In flyway, there is a feature to set a baseline.
For instance, if you set the baseline to V2, then all the V1 scripts will not be run, and teh migrations will start with the V2_0 script.

The use case for this is when you have environment with existing data and other ones (like the local env) with nothing. You'll was to run the index creations in dev but not on an existing environment where it will fail.

Is it a feature you would accept?

@xtermi2
Copy link
Collaborator

xtermi2 commented Oct 20, 2022

Hi @larochef

I know this flyway feature, I have already used it.
Yes, I will accept this. Just use flyway as a guide when naming the configuration in your PR.

@xtermi2 xtermi2 self-assigned this Oct 20, 2022
@xtermi2 xtermi2 added the enhancement New feature or request label Oct 20, 2022
@larochef
Copy link
Author

Created #167 for it

@xtermi2 xtermi2 linked a pull request Oct 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants