Interface ModuleMigrations


public interface ModuleMigrations
Runs database migrations for a module.

Migration scripts are discovered from the module's db/migration/<dialect> directory. A version must use the form 001_short_name. Scripts can use {{table:local_name}} for module table names.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Runs this module's migrations.
  • Method Details

    • run

      void run() throws SQLException
      Runs this module's migrations.
      Throws:
      SQLException - if a migration cannot be applied