-
Notifications
You must be signed in to change notification settings - Fork 8
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 #16 from vulcanize/update_deps
upgrade ipld-eth-indexer from v0.2.0-alpha to v0.5.0-alpha
- Loading branch information
Showing
13 changed files
with
736 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- +goose Up | ||
ALTER TABLE public.nodes | ||
ADD COLUMN chain_id INTEGER DEFAULT 1; | ||
|
||
ALTER TABLE public.nodes | ||
DROP CONSTRAINT node_uc; | ||
|
||
ALTER TABLE public.nodes | ||
ADD CONSTRAINT node_uc | ||
UNIQUE (genesis_block, network_id, node_id, chain_id); | ||
|
||
-- +goose Down | ||
ALTER TABLE public.nodes | ||
DROP CONSTRAINT node_uc; | ||
|
||
ALTER TABLE public.nodes | ||
ADD CONSTRAINT node_uc | ||
UNIQUE (genesis_block, network_id, node_id); | ||
|
||
ALTER TABLE public.nodes | ||
DROP COLUMN chain_id; |
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
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
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.