-
Notifications
You must be signed in to change notification settings - Fork 7
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 #54 from deep-stack/ng-watched-addresses-v3
Add a table for watched addresses (v3)
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- +goose Up | ||
CREATE SCHEMA eth_meta; | ||
|
||
-- +goose Down | ||
DROP SCHEMA eth_meta; |
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,10 @@ | ||
-- +goose Up | ||
CREATE TABLE eth_meta.watched_addresses ( | ||
address VARCHAR(66) PRIMARY KEY, | ||
created_at BIGINT NOT NULL, | ||
watched_at BIGINT NOT NULL, | ||
last_filled_at BIGINT NOT NULL DEFAULT 0 | ||
); | ||
|
||
-- +goose Down | ||
DROP TABLE eth_meta.watched_addresses; |
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