Class MConfiguration
- java.lang.Object
-
- io.ebeaninternal.dbmigration.model.MConfiguration
-
public class MConfiguration extends Object
Holds configuration such as the default tablespace to use for tables, indexes, history tables etc.
-
-
Constructor Summary
Constructors Constructor Description MConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Configuration configuration)Apply the migration configuration.StringgetHistoryTablespace()Return the default tablespace to use for history tables.StringgetIndexTablespace()Return the default tablespace to use for indexes.StringgetTableTablespace()Return the default tablespace to use for tables.
-
-
-
Constructor Detail
-
MConfiguration
public MConfiguration()
-
-
Method Detail
-
apply
public void apply(Configuration configuration)
Apply the migration configuration.It is expected that these are applied in the correct chronological order from earliest to latest.
-
getTableTablespace
public String getTableTablespace()
Return the default tablespace to use for tables.
-
getIndexTablespace
public String getIndexTablespace()
Return the default tablespace to use for indexes.
-
getHistoryTablespace
public String getHistoryTablespace()
Return the default tablespace to use for history tables.
-
-