Skip to content

(VDB-1164) Copy over migrations from vDB#128

Merged
gslaughl merged 1 commit intostagingfrom
vdb-1164-admin-workaround
Feb 18, 2020
Merged

(VDB-1164) Copy over migrations from vDB#128
gslaughl merged 1 commit intostagingfrom
vdb-1164-admin-workaround

Conversation

@gslaughl
Copy link
Copy Markdown
Contributor

@gslaughl gslaughl requested review from elizabethengelman, rmulhol and yaoandrew and removed request for elizabethengelman, rmulhol and yaoandrew February 18, 2020 18:21
network_id NUMERIC,
eth_node_id VARCHAR(128),
UNIQUE (genesis_block, network_id, eth_node_id)
UNIQUE (genesis_block, network_id, eth_node_id, client_name)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have mentioned this on the other PR but heads up that we need to avoid modifying earlier migrations starting asap if we're working against a deployed db - otherwise the changes won't take hold.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂ oh boy, that's gonna take some getting used to haha

eth_node_id VARCHAR(128),
UNIQUE (genesis_block, network_id, eth_node_id)
UNIQUE (genesis_block, network_id, eth_node_id, client_name)
);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps worth modifying the go.mod to point at the branch with these changes (unless they're already on staging?) so that CI verifies any other changes on the vdb side avoid causing any test failures

@gslaughl gslaughl force-pushed the vdb-1164-admin-workaround branch from f71d45b to f09f220 Compare February 18, 2020 21:19
@gslaughl gslaughl merged commit 409439c into staging Feb 18, 2020
@gslaughl gslaughl deleted the vdb-1164-admin-workaround branch February 18, 2020 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants