Skip to content

Implement database and helper functions - #19

Open
MihirGharote wants to merge 3 commits into
devlup-labs:mainfrom
MihirGharote:15-database-helper-functions
Open

Implement database and helper functions#19
MihirGharote wants to merge 3 commits into
devlup-labs:mainfrom
MihirGharote:15-database-helper-functions

Conversation

@MihirGharote

Copy link
Copy Markdown
Contributor

Summary

Implements the sqlite database using sqlc as the framework. Also, some helper functions and models have been implemented. To use, check the coordination/database/database_test.go testfile.

Related issue

Closes #15

Component(s) touched

  • Coordination server
  • Clientside Agent (WireGuard / NAT / CLI)
  • Desktop client (Frontend)
  • Docs / infra

Testing

A testing file was created for the entire package. This checks the commonly used functionality of the database package. To test, run go test

Checklist

  • Tests added or updated for the change
  • Tests passes locally
  • Code follows style standards
  • No unrelated files changed
  • Docs/comments updated if behavior changed

Screenshots (UI changes only)

N/A

New fields and helper functions were added after consulting with
the team. Also refactored for better DevEx.
@MihirGharote MihirGharote changed the title 15 database helper functions Implement database and helper functions Aug 8, 2026
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.

🛠️ [Feature]: Database and helper functions

1 participant