Skip to content

Commit

Permalink
Merge pull request #2442 from gobitfly/NOBIDS/add-missing-broadcaster…
Browse files Browse the repository at this point in the history
…-table

(NOBIDS) db: add missing table for broadcaster: node_jobs_bls_changes…
  • Loading branch information
recy21 committed Aug 1, 2023
2 parents 6643f8d + 24237c1 commit e4eb3b1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions db/migrations/20230801123436_add_missing_braodacaster_tables.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- +goose Up
-- +goose StatementBegin
SELECT 'up SQL query - add table node_jobs_bls_changes_validators';
CREATE TABLE IF NOT EXISTS
node_jobs_bls_changes_validators (
validatorindex INT NOT NULL,
node_job_id VARCHAR(40) NOT NULL,
PRIMARY KEY (validatorindex)
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
SELECT 'down SQL query - remove table node_jobs_bls_changes_validators';
DROP TABLE IF EXISTS node_jobs_bls_changes_validators CASCADE;
-- +goose StatementEnd

0 comments on commit e4eb3b1

Please sign in to comment.