Tutorial - Move from state to migrations-based deployments
Published 23 April 2025
- Capture a baseline that represents your production environment and generate or add migration scripts to your project.
- Update your pipeline to make sure prepare is using migrations as the source instead of the Schema Model.
- In addition, you'll need to run flyway baseline as a one-off step for each of your target environments so the baseline script is not reapplied to these existing environments.
Please get in touch with us if you need more help with this steps. We're interested in learning how we can make this even easier in the future.