Skip to content

Commit

Permalink
Added is_backfiled filed to solana's filter table
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko committed Dec 20, 2024
1 parent 6ea85ea commit 0c98c01
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 0c98c01

Please sign in to comment.