Skip to content

Conversation

@arhowe00
Copy link
Contributor

Closes #217

I did not test this because there is coverage over all the functions Database.write_*, and otherwise I am only using pathlib. Let me know if I should add a test and I'll make a separate commit for that

arhowe00 and others added 2 commits March 1, 2025 00:10
- Adds an empty database to the specified location with empty tables.
@ebrahimebrahim ebrahimebrahim force-pushed the 217-Add-tool-to-initialize-an-empty-database branch from 1cba17e to cff5579 Compare March 1, 2025 05:17
Copy link
Collaborator

@ebrahimebrahim ebrahimebrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I added a small update to just return the new database. Threw in a unit test just because that was the easiest way for me to review the code

If you approve of my update please go ahead and rebase+merge

@arhowe00 arhowe00 merged commit 67680bc into main Mar 3, 2025
9 checks 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.

Add tool to initialize an empty database

3 participants