fix: union

This commit is contained in:
adlerhurst 2020-11-05 13:24:37 +01:00
parent 3093eb0dbd
commit 756a4f1d08

View File

@ -52,7 +52,7 @@ const (
" aggregate_type = $2::VARCHAR " +
" AND aggregate_id = $3::VARCHAR " +
" GROUP BY resource_owner " +
" ) UNION ALL (" +
" ) UNION (" +
// if no previous event we use the given data
" VALUES (" +
" $1::VARCHAR, " +