Class HistoryTableUpdate
- java.lang.Object
-
- io.ebeaninternal.dbmigration.ddlgeneration.platform.HistoryTableUpdate
-
public class HistoryTableUpdate extends Object
Bean holding comments relating to a history table that needs to have it's associated triggers/function updated due to columns added/dropped/included or excluded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistoryTableUpdate.ChangeColumn change type.
-
Constructor Summary
Constructors Constructor Description HistoryTableUpdate(String baseTable)Construct with a given base table name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(HistoryTableUpdate.Change change, String column)Add a comment for column added, dropped, included or excluded.Stringdescription()Return a description of the changes that cause the history trigger/function to be regenerated (added, included, excluded and dropped columns).StringgetBaseTable()Return the base table name.
-
-
-
Constructor Detail
-
HistoryTableUpdate
public HistoryTableUpdate(String baseTable)
Construct with a given base table name.
-
-
Method Detail
-
description
public String description()
Return a description of the changes that cause the history trigger/function to be regenerated (added, included, excluded and dropped columns).
-
add
public void add(HistoryTableUpdate.Change change, String column)
Add a comment for column added, dropped, included or excluded.
-
getBaseTable
public String getBaseTable()
Return the base table name.
-
-