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

๐Ÿ› ๏ธ [TASK] : Add Basic Database Queries to support the signed_docs table. #1324

Open
2 of 4 tasks
Tracked by #1270
stevenj opened this issue Dec 4, 2024 · 0 comments
Open
2 of 4 tasks
Tracked by #1270
Assignees
Labels

Comments

@stevenj
Copy link
Collaborator

stevenj commented Dec 4, 2024

PR: #1322 adds a Postgresql table to serve as a signed document's repository.
Create supporting queries for that table in the catalyst-gateway/bin/src/db/event/signed_docs path.
Follow the structure for query implementation as shown in the catalyst-gateway/bin/src/db/event/config path.

The query operations that will be required initially are:

None of these endpoints is to take any raw SQL, it is to construct it from defined and controlled parameters.
For example, it is impermissible to pass a "WHERE" query string to any of these functions.

Each of these queries is to be an independent PR of this ticket.

As these functions require a PostgreSQL database to function, and data injected within it, they do not need unit tests. They will be tested via integration tests which are outside the scope of this ticket. However, any sub-functions which do not have a dependency on external IO should have appropriate unit tests.

@stevenj stevenj changed the title Add Basic Database Queries to support the signed_docs table. ๐Ÿ› ๏ธ [TASK] : Add Basic Database Queries to support the signed_docs table. Dec 4, 2024
@stevenj stevenj added the F14 label Dec 4, 2024
@stevenj stevenj moved this from New to ๐Ÿ”– Ready in Catalyst Dec 4, 2024
@stevenj stevenj moved this from ๐Ÿ”– Ready to New in Catalyst Dec 4, 2024
@stevenj stevenj added this to the M4: Voting & Delegation milestone Dec 4, 2024
@Mr-Leshiy Mr-Leshiy moved this from New to ๐Ÿ”– Ready in Catalyst Dec 4, 2024
@Mr-Leshiy Mr-Leshiy moved this from ๐Ÿ”– Ready to ๐Ÿ— In progress in Catalyst Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ๐Ÿ— In progress
Development

No branches or pull requests

2 participants