public interface DatabaseSchemaManager
Database schema manager which manages the initialization and drop of the database schema.
DatabaseSchemaService
Modifier and Type | Method and Description |
---|---|
void |
drop()
Drops the database schema when the application is stopping.
|
void |
initialize()
Initializes the database schema when the application is starting.
|
boolean |
isNewSchema()
Checks whether the database initialization created a new schema.
|
void initialize()
Initializes the database schema when the application is starting.
void drop()
Drops the database schema when the application is stopping.
boolean isNewSchema()
Checks whether the database initialization created a new schema.
this will only return the correct value after the Flyway migration has been triggered and the baseline migration has been applied.
true
if the Flyway migration involved the creation of a new schema (baseline applied)Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.