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

🧹 Initialize database on app start-up #5630

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented Jun 25, 2024

Moves the database initialization to the constructor of the Database object, and then calling it on __main__, this way we have a bit more control in the order of execution of these steps.

Fixes #5609

How to test

All tests should pass, and the database type checker should work as well.

@jpelay jpelay marked this pull request as ready for review June 27, 2024 20:36
@jpelay jpelay requested a review from rix0rrr June 27, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

🪲 Initialize DB tables on app inizialitation
1 participant