fix: join on instanceIDs in queries (#4612)

This commit is contained in:
Livio Spring
2022-10-27 08:08:36 +02:00
committed by GitHub
parent d721f725fd
commit 441f215513
61 changed files with 555 additions and 1243 deletions

View File

@@ -249,7 +249,8 @@ func prepareCurrentSequencesQuery() (sq.SelectBuilder, func(*sql.Rows) (*Current
var (
currentSequencesTable = table{
name: projection.CurrentSeqTable,
name: projection.CurrentSeqTable,
instanceIDCol: "instance_id",
}
CurrentSequenceColAggregateType = Column{
name: "aggregate_type",
@@ -275,7 +276,8 @@ var (
var (
locksTable = table{
name: projection.LocksTable,
name: projection.LocksTable,
instanceIDCol: "instance_id",
}
LocksColLockerID = Column{
name: "locker_id",