Interface DatabaseMigrations


public interface DatabaseMigrations
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    id()
    Stable identifier.
     
    int
    Lower values run first.
    void
    up(Connection connection)
     
  • Method Details

    • id

      String id()
      Stable identifier. NEVER change this after the migration has been released.
    • name

      String name()
    • order

      int order()
      Lower values run first.
    • description

      default String description()
    • up

      void up(Connection connection) throws DBException
      Throws:
      DBException