-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Conversation
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
3afea3f
to
9013781
Compare
8211bb8
to
e1490b5
Compare
9013781
to
698cda0
Compare
e1490b5
to
1f4edaf
Compare
698cda0
to
53a7906
Compare
1f4edaf
to
eb958e9
Compare
53a7906
to
a9e366c
Compare
eb958e9
to
04a13ff
Compare
a9e366c
to
01cfd1b
Compare
04a13ff
to
f405522
Compare
tilacog
approved these changes
Mar 17, 2021
01cfd1b
to
7f30603
Compare
f405522
to
9d58a2b
Compare
7f30603
to
8fc990e
Compare
9d58a2b
to
7e3b776
Compare
8fc990e
to
5fffda2
Compare
7e3b776
to
4507eec
Compare
5fffda2
to
857dec3
Compare
4507eec
to
3060635
Compare
857dec3
to
64ccc6b
Compare
3060635
to
ae4fb48
Compare
64ccc6b
to
f530511
Compare
ae4fb48
to
6bb91b5
Compare
f530511
to
85b72ff
Compare
6bb91b5
to
42d1960
Compare
85b72ff
to
af76792
Compare
42d1960
to
ba77f20
Compare
Make 'id' the primary key on subgraph_deployment so that entries there are identified with the same id as entries in deployment_schemas
ba77f20
to
46b19f4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR switches the primary key for
subgraph_deployment
to be the same as the pk fordeployment_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.