#1569 - Ebean generates wrong ddl (datetime(6) vs timestamp) for H2 with @History annotation

This commit is contained in:
rob bygrave
2018-12-03 22:05:18 +13:00
parent e876ef8d87
commit a8892292fb
5 changed files with 61 additions and 45 deletions
@@ -15,6 +15,8 @@ public class H2HistoryDdl extends DbTriggerBasedHistoryDdl {
private static final String TRIGGER_CLASS = H2HistoryTrigger.class.getName();
public H2HistoryDdl() {
this.sysPeriodType = "timestamp";
this.currentTimestamp = "now()";
}
@Override