mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
15 lines
340 B
MySQL
15 lines
340 B
MySQL
|
CREATE INDEX agg_type_seq ON eventstore.events
|
||
|
(aggregate_type, event_sequence DESC)
|
||
|
STORING (
|
||
|
id
|
||
|
, event_type
|
||
|
, aggregate_id
|
||
|
, aggregate_version
|
||
|
, previous_aggregate_sequence
|
||
|
, creation_date
|
||
|
, event_data
|
||
|
, editor_user
|
||
|
, editor_service
|
||
|
, resource_owner
|
||
|
, previous_aggregate_type_sequence
|
||
|
);
|