Class MigrationRunner


  • @Component
    @ConditionalOnProperty(name="migrations.enabled",
                           havingValue="true",
                           matchIfMissing=false)
    public class MigrationRunner
    extends java.lang.Object
    Migration runner runs all the registered migrations as scheduled. By default migration runner will not run and need to set `migrations.enabled` property to enable it.

    Note: Ideally migrations should be running only on one instance.

    • Constructor Summary

      Constructors 
      Constructor Description
      MigrationRunner()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MigrationRunner

        public MigrationRunner()