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

Setup SqlModel and Alembic #11

Merged
merged 7 commits into from
Dec 9, 2024
Merged

Setup SqlModel and Alembic #11

merged 7 commits into from
Dec 9, 2024

Conversation

moisses89
Copy link
Member

@moisses89 moisses89 commented Dec 3, 2024

Description

Add support SqlModel (based on SqlAlchemy).
Enable migrations management with Alembic.

Closes #8

@coveralls
Copy link

coveralls commented Dec 3, 2024

Pull Request Test Coverage Report for Build 12183076461

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 61 of 66 (92.42%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+16.4%) to 90.435%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/services/contract.py 16 17 94.12%
app/datasources/db/database.py 16 20 80.0%
Totals Coverage Status
Change from base Build 12119268343: 16.4%
Covered Lines: 104
Relevant Lines: 115

💛 - Coveralls

@moisses89 moisses89 marked this pull request as ready for review December 5, 2024 10:23
@moisses89 moisses89 requested a review from a team as a code owner December 5, 2024 10:23
@moisses89 moisses89 marked this pull request as draft December 5, 2024 14:38
Add changes after test database with dramatiq
@moisses89 moisses89 marked this pull request as ready for review December 5, 2024 15:42
@moisses89 moisses89 merged commit 065fd59 into main Dec 9, 2024
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure SQLAlchemy + Alembic
3 participants