Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a synthetic primary key for subgraph_deployment #2268

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

lutter
Copy link
Collaborator

@lutter lutter commented Mar 12, 2021

This PR switches the primary key for subgraph_deployment to be the same as the pk for deployment_schemas. It does the bare minimum necessary to arrange for that in the database, but does not yet contain the code changes required to move away from identifying deployments internally by their IPFS hash. That will come in a future PR.

This PR sits on top of #2267 since manual intervention is needed in the sharded setup in the hosted service between these two PR's.

@lutter lutter changed the base branch from lutter/deployment to master March 29, 2021 18:18
Make 'id' the primary key on subgraph_deployment so that entries there are
identified with the same id as entries in deployment_schemas
@lutter lutter merged commit 46b19f4 into master Mar 31, 2021
@lutter lutter deleted the lutter/deployment2 branch April 21, 2021 16:46
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