Skip to content

Commit b285972

Browse files
invis-bitflyguybrush
authored andcommitted
fixup! fix(migrations): remove gnosis db mention
1 parent b88cb65 commit b285972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/pkg/commons/db/migrations/clickhouse/20250721104442_improve_status_reports_filtering.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-- +goose Up
22
-- +goose StatementBegin
3-
ALTER TABLE status_reports ADD INDEX event_id_index event_id Type set(32) settings mutations_sync=2, alter_sync=1;
3+
ALTER TABLE status_reports ADD INDEX IF NOT EXISTS event_id_index event_id Type set(32) settings mutations_sync=2, alter_sync=1;
44
-- +goose StatementEnd
55
-- +goose StatementBegin
66
ALTER TABLE status_reports MATERIALIZE INDEX event_id_index;
77
-- +goose StatementEnd
88
-- +goose StatementBegin
9-
ALTER TABLE status_reports ADD INDEX expires_at_index expires_at Type minmax() settings mutations_sync=2, alter_sync=1;
9+
ALTER TABLE status_reports ADD INDEX IF NOT EXISTS expires_at_index expires_at Type minmax() settings mutations_sync=2, alter_sync=1;
1010
-- +goose StatementEnd
1111
-- +goose StatementBegin
1212
ALTER TABLE status_reports MATERIALIZE INDEX expires_at_index;

0 commit comments

Comments
 (0)