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

Connect to our Postgres, add connection pool to AppState #60

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

m-milek
Copy link
Member

@m-milek m-milek commented Jul 24, 2024

I've added sqlx to connect to our remote Postgres instance and modified Cargo.toml to improve compile times.
All SQL code needed to reproduce the DB schema is inside the migrations directory. Closing #50

@m-milek m-milek added backend Related to the backend database Related to our DB labels Jul 24, 2024
@m-milek m-milek requested a review from SebastianNowak01 July 24, 2024 16:35
@m-milek m-milek self-assigned this Jul 24, 2024
@m-milek m-milek linked an issue Jul 24, 2024 that may be closed by this pull request
Copy link
Collaborator

@SebastianNowak01 SebastianNowak01 left a comment

Choose a reason for hiding this comment

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

Seems like a good addition!

@SebastianNowak01 SebastianNowak01 merged commit e64b551 into dev Jul 24, 2024
12 checks passed
@SebastianNowak01 SebastianNowak01 deleted the feature/database-connection branch July 24, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the backend database Related to our DB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlx setup
2 participants