| Package | Description |
|---|---|
| io.ebean.migration | |
| io.ebean.migration.runner |
| Modifier and Type | Method and Description |
|---|---|
List<LocalMigrationResource> |
MigrationRunner.checkState()
Return the migrations that would be applied if the migration is run.
|
List<LocalMigrationResource> |
MigrationRunner.checkState(Connection connection)
Return the migrations that would be applied if the migration is run.
|
List<LocalMigrationResource> |
MigrationRunner.checkState(DataSource dataSource)
Return the migrations that would be applied if the migration is run.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LocalJdbcMigrationResource
A DB migration resource (JdbcMigration with version).
|
| Modifier and Type | Method and Description |
|---|---|
List<LocalMigrationResource> |
LocalMigrationResources.getVersions()
Return the list of migration resources in version order.
|
List<LocalMigrationResource> |
MigrationTable.ran()
Return the migrations that have been run.
|
| Modifier and Type | Method and Description |
|---|---|
int |
LocalMigrationResource.compareTo(LocalMigrationResource o)
Default ordering by version.
|
boolean |
MigrationTable.shouldRun(LocalMigrationResource localVersion,
LocalMigrationResource priorVersion)
Return true if the migration ran successfully and false if the migration failed.
|
Copyright © 2018. All rights reserved.