Comments
Sort by recent activity
Thank you for the walk through. I expect some wires got crossed during the branch switching. Flyway ultimately just runs the git cli on your behalf, so I would expect the problem to get visible there. Running a 'git status' command should show it. That should put you in a much better position to reconcile the differences between the filesystem and the repo. / comments
Thank you for the walk through. I expect some wires got crossed during the branch switching.Flyway ultimately just runs the git cli on your behalf, so I would expect the problem to get visible ther...
Hi JimmyG, I don't think we provide that option, what behaviour are you seeing please? I'd typically expect either a success or fast failure with very little opportunity to cancel. / comments
Hi JimmyG,I don't think we provide that option, what behaviour are you seeing please?I'd typically expect either a success or fast failure with very little opportunity to cancel.
Oh I see, that's a trickier proposition, flyway won't extract the diff, it is able to detect the files have changed but isn't designed to calculate a delta from there. However, if you're able to get the required delta then flyway can happily run the script. SQL*Plus isn't required as mentioned, I just offered it as an extension option. As for how it works in Jenkins, much the same as any of the supported platforms, you populate the config file to point to where your scripts are and also define database environments and then call whichever verbs you need to perform the desired action, in this case migrate. / comments
Oh I see, that's a trickier proposition, flyway won't extract the diff, it is able to detect the files have changed but isn't designed to calculate a delta from there.However, if you're able to get...
Hello dheerajb84, Yes Flyway CLI could certainly do that and then spool the output potentially return the response to the Jenkins runner depending on what you needed. If you didn't need any SQL*plus functionality the free open source version might be sufficient for your needs. https://documentation.red-gate.com/flyway/getting-started-with-flyway/installers / comments
Hello dheerajb84,Yes Flyway CLI could certainly do that and then spool the output potentially return the response to the Jenkins runner depending on what you needed.If you didn't need any SQL*plus ...
Hi henrylafleur, As far as I can see, no one has yet attempted this, if you manage it, that would be an interesting addition to the community! Regarding how, there is some guidance in the following doc for how to structure the config for interacting with MSbuild, you may be able to reuse some of that? https://documentation.red-gate.com/sa/building-your-assembly/using-smartassembly-with-msbuild / comments
Hi henrylafleur,As far as I can see, no one has yet attempted this, if you manage it, that would be an interesting addition to the community!Regarding how, there is some guidance in the following d...
Hello rakeshduhan, Have you included the db dependency org.flywaydb:flyway-database-oracle ? / comments
Hello rakeshduhan,Have you included the db dependency org.flywaydb:flyway-database-oracle ?
That's an interesting idea BNitsche, It's not presently possible to invoke the GUI application with a project predefined. The CLI has much more comprehensive support for programmatic interaction for authoring scripts. / comments
That's an interesting idea BNitsche,It's not presently possible to invoke the GUI application with a project predefined. The CLI has much more comprehensive support for programmatic interaction for...
What version did you try this with please graded? I tried the same before replying and it was unsuccessful, loading to the project page instead. / comments
What version did you try this with please graded?I tried the same before replying and it was unsuccessful, loading to the project page instead.
Thank you for submitting it for Microsoft's review AmitSri, based on past experience that is the most effective measure that can be taken. Additionally, more security vendors are unwilling to review based on the work of 3rd parties and will only accept review requests from affected customers such as yourself. All obfuscation software is periodically marked by automated protection patterns because bad actors often obfuscate their payloads to improve the odds it will bypass detection. The false positive typically only lasts a short time until they are updated. If you scan it with another security product that uses different patterns it likely won't be flagged. Your diligence is much appreciated; if you remain concerned please hold off on using at first while the patterns are updated and MS review. / comments
Thank you for submitting it for Microsoft's review AmitSri, based on past experience that is the most effective measure that can be taken. Additionally, more security vendors are unwilling to revie...
Hello jbottinger, I'm not sure ignoreMissingMigrations is what you need; it would have allowed flyway to continue if formerly applied migrations were missing. Whereas your implementation sounds more like you want to be selective about which migration are run against which targets. Depending on your preferred architecture, I'd recommend one of two approaches. 1. Keep your different entity models in different directories, independent of one another, they then can be executed in sequence. Because they are independent nothing is missing. This may result in duplicate files on disk, thought that may be a serviceable trade-off. 2. Environment specific config files This would allow you to define in your migrations what targets they should be applied to. This would require more time and effort on your part but no file duplication. Footnote: If you are looking for the functionality of ignoreMissingMigrations for other reasons, it's been superseded by the more flexible ignore-migration-patterns option which will afford you the same capability. / comments
Hello jbottinger,I'm not sure ignoreMissingMigrations is what you need; it would have allowed flyway to continue if formerly applied migrations were missing. Whereas your implementation sounds more...