fix: change index names to work with postgres (#4740)

This commit is contained in:
Livio Spring 2022-11-23 12:25:49 +01:00 committed by GitHub
parent ff595697df
commit 6a1a907874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
CREATE INDEX instance_id_idx ON adminapi.current_sequences (instance_id); CREATE INDEX current_sequences_instance_id_idx ON adminapi.current_sequences (instance_id);
CREATE INDEX instance_id_idx ON auth.current_sequences (instance_id); CREATE INDEX current_sequences_instance_id_idx ON auth.current_sequences (instance_id);
CREATE INDEX instance_id_idx ON projections.current_sequences (instance_id); CREATE INDEX current_sequences_instance_id_idx ON projections.current_sequences (instance_id);
CREATE INDEX instance_id_idx ON adminapi.failed_events (instance_id); CREATE INDEX failed_events_instance_id_idx ON adminapi.failed_events (instance_id);
CREATE INDEX instance_id_idx ON auth.failed_events (instance_id); CREATE INDEX failed_events_instance_id_idx ON auth.failed_events (instance_id);
CREATE INDEX instance_id_idx ON projections.failed_events (instance_id); CREATE INDEX failed_events_instance_id_idx ON projections.failed_events (instance_id);
ALTER TABLE adminapi.failed_events ADD COLUMN last_failed TIMESTAMPTZ; ALTER TABLE adminapi.failed_events ADD COLUMN last_failed TIMESTAMPTZ;
ALTER TABLE auth.failed_events ADD COLUMN last_failed TIMESTAMPTZ; ALTER TABLE auth.failed_events ADD COLUMN last_failed TIMESTAMPTZ;