#418 - Postgres History DDL generation - invalid update table statement to initialise the sys_period

This commit is contained in:
Robin Bygrave
2015-09-18 21:30:59 +12:00
parent 32dcbc6703
commit 08c455279f
@@ -40,7 +40,7 @@ public class PostgresHistoryDdl extends DbTriggerBasedHistoryDdl {
.endOfStatement();
if (whenCreatedColumn != null) {
apply.append("update table ").append(baseTableName).append(" set ")
apply.append("update ").append(baseTableName).append(" set ")
.append(sysPeriod).append(" = tstzrange(").append(whenCreatedColumn).append(", null)").endOfStatement();
}
}