Package io.vertigo.database.migration
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
-
Method Details
-
check
Check if database is ok.- Parameters:
connectionName- ConnectionProviderName (in the Vertigo's way). For example @seeinvalid reference
SqlManager.MAIN_CONNECTION_PROVIDER_NAME
-
update
Perform all taks on database to make it up to date.- Parameters:
connectionName- ConnectionProviderName (in the Vertigo's way). For example @seeinvalid reference
SqlManager.MAIN_CONNECTION_PROVIDER_NAME
-