Skip to content

Commit 6050b80

Browse files
committed
fix(clickhouse): simplify obsolete index migration
1 parent b422f60 commit 6050b80

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

internal-packages/clickhouse/schema/042_reduce_task_events_v2_storage_overhead.sql

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ ALTER TABLE trigger_dev.task_events_v2
66
DROP INDEX IF EXISTS idx_attributes_text_search,
77
DROP INDEX IF EXISTS idx_attributes_text,
88
DROP INDEX IF EXISTS idx_message_text_search,
9-
DROP INDEX IF EXISTS message_text_search
10-
SETTINGS mutations_sync = 2, alter_sync = 2;
9+
DROP INDEX IF EXISTS message_text_search;
1110

1211
-- +goose Down
13-
14-
-- Restoring these indexes safely requires selecting the appropriate index
15-
-- definitions and materializing them in a new forward migration.
16-
SELECT throwIf(1, 'This migration cannot be rolled back automatically');

0 commit comments

Comments
 (0)