Skip to content

Commit

Permalink
Added is_backfiled filed to solana's filter table (#15796)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko authored Jan 8, 2025
1 parent d2cb007 commit 0747d30
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core/store/migrate/migrations/0263_solana_filter_is_backfilled.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- +goose Up
-- +goose StatementBegin

ALTER TABLE solana.log_poller_filters ADD COLUMN is_backfilled BOOLEAN;
UPDATE solana.log_poller_filters SET is_backfilled = true;
ALTER TABLE solana.log_poller_filters ALTER COLUMN is_backfilled SET NOT NULL;
-- +goose StatementEnd


-- +goose Down
-- +goose StatementBegin

ALTER TABLE solana.log_poller_filters DROP COLUMN is_backfilled;
-- +goose StatementEnd

0 comments on commit 0747d30

Please sign in to comment.