diff --git a/core/store/migrate/migrations/0259_add_solana_schema.sql b/core/store/migrate/migrations/0259_add_solana_schema.sql index 8906d31f3f3..035d3ff3d61 100644 --- a/core/store/migrate/migrations/0259_add_solana_schema.sql +++ b/core/store/migrate/migrations/0259_add_solana_schema.sql @@ -20,7 +20,7 @@ CREATE TABLE solana.log_poller_filters ( is_deleted BOOLEAN NOT NULL DEFAULT FALSE ); -CREATE UNIQUE INDEX IF NOT EXISTS solana_log_poller_filter_name ON solana.log_poller_filters (name) WHERE NOT is_deleted; +CREATE UNIQUE INDEX IF NOT EXISTS solana_log_poller_filter_name ON solana.log_poller_filters (chain_id, name) WHERE NOT is_deleted; CREATE TABLE solana.logs ( id BIGSERIAL PRIMARY KEY,