mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 00:18:51 +00:00
fix: smaller outage on events migration first part (#2287)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE eventstore.events
|
||||
RENAME COLUMN previous_sequence TO previous_aggregate_sequence,
|
||||
ADD COLUMN previous_aggregate_type_sequence INT8,
|
||||
ADD CONSTRAINT prev_agg_type_seq_unique UNIQUE(previous_aggregate_type_sequence);
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user