fix(setup): create indexes only if not exists (#4801)

This commit is contained in:
Silvan
2022-12-01 14:31:01 +01:00
committed by GitHub
parent 9626897834
commit 62b7352a29
2 changed files with 6 additions and 6 deletions

View File

@@ -27,4 +27,4 @@ CREATE TABLE adminapi.styling2 (
PRIMARY KEY (instance_id, aggregate_id, label_policy_state)
);
CREATE INDEX owner_removed_idx ON adminapi.styling2 (owner_removed);
CREATE INDEX st2_owner_removed_idx ON adminapi.styling2 (owner_removed);