-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1007 from gobitfly/BEDS-397/add_upcoming_block_pr…
…oposal_notification Beds 397/add upcoming block proposal notification
- Loading branch information
Showing
8 changed files
with
381 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...commons/db/migrations/postgres/20241022072552_head_notification_status_tracking_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
-- +goose Up | ||
-- +goose StatementBegin | ||
SELECT 'creating epochs_notified_head table'; | ||
CREATE TABLE IF NOT EXISTS epochs_notified_head ( | ||
epoch INTEGER NOT NULL, | ||
event_name VARCHAR(255) NOT NULL, | ||
senton TIMESTAMP WITHOUT TIME ZONE NOT NULL, | ||
PRIMARY KEY (epoch, event_name) | ||
); | ||
-- +goose StatementEnd | ||
|
||
-- +goose Down | ||
-- +goose StatementBegin | ||
SELECT 'dropping epochs_notified_head table'; | ||
DROP TABLE IF EXISTS epochs_notified_head; | ||
-- +goose StatementEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.