Interface MigrationManager

All Superinterfaces:
io.vertigo.core.node.component.Component, io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Manager
All Known Implementing Classes:
MigrationManagerImpl

public interface MigrationManager extends io.vertigo.core.node.component.Manager
MigrationManager is used to perform migration tasks on databases. It's mainly a question of creating/migration database schemas. Two type of tasks can be performed :
  • update : Update your database schema and data to the current version of your app
  • check : Check that node and database are in a coherent state
Author:
mlaroche
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    check(String connectionName)
    Check if database is ok.
    void
    update(String connectionName)
    Perform all taks on database to make it up to date.
  • Method Details

    • check

      void check(String connectionName)
      Check if database is ok.
      Parameters:
      connectionName - ConnectionProviderName (in the Vertigo's way). For example @see
      invalid reference
      SqlManager.MAIN_CONNECTION_PROVIDER_NAME
    • update

      void update(String connectionName)
      Perform all taks on database to make it up to date.
      Parameters:
      connectionName - ConnectionProviderName (in the Vertigo's way). For example @see
      invalid reference
      SqlManager.MAIN_CONNECTION_PROVIDER_NAME