Provide mechanism to disallow Cromwell starting if migration necessary
open | Created 2017-07-09 | Last updated 2018-01-18| Posted by geoffjentry | See in Github

User Requested Improvement

This was requested by @patmagee - I agree that it's a good idea.

Find a way to detect if a liquibase migration is pending if Cromwell starts. Add a config option (defaulting to a safe mode) such that if this option is enabled and a liquibase migration is required that the process will exit with an error message stating:

  • That a migration is necessary
  • Encouragement to the user to backup their database and/or do further testing if in a production environment
  • Describe how to override (including via command line) the setting to allow Cromwell to start properly.

Return to top