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

Is it possible to pass multiple folders in lastChangeToApply property? #19

Open
manojsitapara opened this issue Mar 16, 2018 · 1 comment

Comments

@manojsitapara
Copy link

manojsitapara commented Mar 16, 2018

I have multiple folders for different solution, like
ABCompany/MetaSql (for ex: it contain sql files from number 1-10)
ABCompany/SchemaSql (for ex: it contain sql files from number 1-12)
DEFompany/MetaSql (for ex: it contain sql files from number 1-5)
DEFompany/SchemaSql (for ex: it contain sql files from number 1-7)
GHICompany/MetaSql (for ex: it contain sql files from number 1-15)
GHICompany/SchemaSql (for ex: it contain sql files from number 1-11)

For example, now I want to execute following files
only files whose number after 7(i.e. 8-10) from folder ABCompany/MetaSql
only files whose number after 5(i.e. 6-12) from folder ABCompany/SchemaSql
only files whose number after 2(i.e. 3-7) from folder DEFompany/SchemaSql

Now Why I want to do this is because let's say I downloaded my production Database in my QA box and it contains all the scripts except the listed above.

Is this possible?

Thanks
Manoj

@brunomlopes
Copy link
Owner

Not at the moment.
If I had this requirement, I'd store the files as you mentioned in source control, and have a script which copies all of them into a separate folder and call dbdeploy with that.

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

No branches or pull requests

2 participants