-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat(database): Add Epoch and Snapshot tables #548
Conversation
42f5266
to
968c971
Compare
bc74f44
to
1225eaa
Compare
1225eaa
to
5e9f73c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First review (haven't reviewed the tests.)
.../repository/migrations/000001_create_application_input_claim_output_report_nodeconfig.up.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to comment that the snapshot table doesn't test fail cases, but reading the models, it doesn't have one.
We need to make some changes. We accept same app address and input? If yes, we need to change how we get snapshots. If no, we need to add an unique constraint to this columns.
.../repository/migrations/000001_create_application_input_claim_output_report_nodeconfig.up.sql
Show resolved
Hide resolved
internal/repository/migrations/000002_create_postgraphile_view.up.sql
Outdated
Show resolved
Hide resolved
13cbb90
to
abc3376
Compare
Index uniqueness per application will be checked on issue #556 |
e215ce0
to
c118266
Compare
22a7810
to
8a39aee
Compare
8a39aee
to
94d13b8
Compare
closes #544