zitadel/internal/repository/milestone
Tim Möhlmann 9cf67f30b8
fix(milestones): offset the type enum (#8849)
# Which Problems Are Solved

Migration of milestones failed on our QA due to the new milestone Type
enum being 0-indexed. The valid range was 0 till 5, inclusive. While on
the previous zitadel version this was 1 till 6, inclusive.

# How the Problems Are Solved

Offset the first constant with `1`.

# Additional Changes

- none

# Additional Context

Introduced in https://github.com/zitadel/zitadel/pull/8788
2024-10-31 12:03:40 +01:00
..
aggregate.go perf(milestones): refactor (#8788) 2024-10-28 08:29:34 +00:00
events.go fix(milestones): offset the type enum (#8849) 2024-10-31 12:03:40 +01:00
eventstore.go perf(milestones): refactor (#8788) 2024-10-28 08:29:34 +00:00
type_enumer.go fix(milestones): offset the type enum (#8849) 2024-10-31 12:03:40 +01:00