public class MigrationManager extends Object
| Constructor and Description |
|---|
MigrationManager(String migrationLocation,
String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
createSchemaVersionTableIfDoesNotExist() |
List<Migration> |
getPendingMigrations()
Returns pending migrations.
|
void |
migrate(org.apache.maven.plugin.logging.Log log,
String encoding)
Migrates the database to the latest version, enabling migrations if necessary.
|
public MigrationManager(String migrationLocation, String url) throws SQLException
SQLExceptionpublic List<Migration> getPendingMigrations()
public void migrate(org.apache.maven.plugin.logging.Log log,
String encoding)
public void createSchemaVersionTableIfDoesNotExist()
Copyright © 2022 JavaLite. All rights reserved.