Skip to content

Refactor blakserv DB code to unify schema, prodecures & common functions - #362

Merged
skittles1 merged 6 commits into
developfrom
db_review
Oct 13, 2026
Merged

skittles1 merged 6 commits into
developfrom
db_review

Conversation

@skittles1

Copy link
Copy Markdown

No description provided.

- Stored DB procedures now operate off a shared header file
rather than duplicating it for each implementation.
- Move some procedure operation logic to a shared file
to reduce duplication.
- Use C++ strings rather than char buffers for better
safety & readability.
- Move database queue behavior/code to database_common.h and
use in both implementations.
- Prevent dropping records prior to initial postgres connection.
- Reduce duplication in database implementation c/h files by
moving common DB type definitions to database_common.h
- Also moved the common function declarations to the common
header, but each implementation still has its own function.
@skittles1
skittles1 merged commit 8458c53 into develop Oct 13, 2026
1 check passed
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.

1 participant