mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix(eventstore): set previous sequence NULL if not checked
This commit is contained in:
parent
62f0d9d59d
commit
55e5e82dbc
@ -79,10 +79,8 @@ const (
|
||||
" SELECT " +
|
||||
" CASE " +
|
||||
" WHEN NOT check_previous " +
|
||||
" THEN max_event_seq " +
|
||||
" WHEN previous_sequence > 0" +
|
||||
" THEN previous_sequence " +
|
||||
" ELSE previous_sequence " +
|
||||
" THEN NULL " +
|
||||
" ELSE previous_sequence " +
|
||||
" END" +
|
||||
" ) " +
|
||||
" FROM input_event " +
|
||||
|
Loading…
Reference in New Issue
Block a user