Skip to content

Commit

Permalink
(NOBIDS) db: add missing table for broadcaster: node_jobs_bls_changes…
Browse files Browse the repository at this point in the history
…_validators
  • Loading branch information
guybrush committed Aug 1, 2023
1 parent 6643f8d commit 24237c1
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 24237c1

Please sign in to comment.