fix(eventstore): correct creation date of events (#5683)

* fix: add setup step to correct creation dates

* fix(eventstore): replace now with statement ts

* fix(step10): correct number

* fix: handle wrong instance domain removed events
This commit is contained in:
Silvan
2023-04-18 19:29:04 +02:00
committed by GitHub
parent c420de1533
commit 8da8fbe6ce
7 changed files with 106 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ const (
" $2::VARCHAR AS aggregate_type," +
" $3::VARCHAR AS aggregate_id," +
" $4::VARCHAR AS aggregate_version," +
" NOW() AS creation_date," +
" statement_timestamp() AS creation_date," +
" $5::JSONB AS event_data," +
" $6::VARCHAR AS editor_user," +
" $7::VARCHAR AS editor_service," +