evodb | Contoso University project to enable CI | Data Migration library
kandi X-RAY | evodb Summary
kandi X-RAY | evodb Summary
My own version of Contoso University project to enable CI/CD with Docker and Kubernetes (especially for database migrations).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of evodb
evodb Key Features
evodb Examples and Code Snippets
Community Discussions
Trending Discussions on evodb
QUESTION
According to this excellent article from Martin Fowler:
Once the build finishes successfully, the CI server packages the build artifacts and publishes them. These build artifacts contain the database migration scripts, so that they can be applied to the databases in downstream environments (...)
My question is how this is realized in practice for Java-based workflow? Build artifacts are normally .war, .jar or .ear files, and are published to Nexus, Archiva or Artifactory server. Can migration scripts be included in these artifacts, so that migration can be performed without any modification to target environments? Can tools like Flyway or Liquibase be used for this purpose?
...ANSWER
Answered 2017-Jun-28 at 12:16Yes! We (Flyway) strongly recommend packaging your migrations with your application and running them on startup. This way you ensure that your database always contains the objects (tables, views, stored procedures, ...) the current version of your application expects.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install evodb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page