Fix/db models
.github/workflows
pipeline_accounts.yaml +30 -0
model
account.py +12 -2
dataset.py +5 -1
invoice.py +2 -2
transaction.py +3 -1
repository
account_repository.py +21 -0
routers
account_router.py +37 -0
service
account_service.py +15 -0
tests
test_account_model.py +36 -0
.github/workflows/pipeline_accounts.yaml
0 → 100644
+ 30
- 0
.github/workflows/pipeline_accounts.yaml
0 → 100644
+ 30
- 0
+ 12
- 2
@@ -7,7 +8,16 @@ class Account(Base):
\ No newline at end of file
\ No newline at end of file
+ 5
- 1
@@ -13,4 +14,7 @@ class Dataset(Base):
\ No newline at end of file
\ No newline at end of file
+ 2
- 2
@@ -7,7 +7,7 @@ class Invoice(Base):
+ 3
- 1
@@ -12,4 +12,6 @@ class Transaction(Base):
\ No newline at end of file
\ No newline at end of file
repository/account_repository.py
0 → 100644
+ 21
- 0
\ No newline at end of file
routers/account_router.py
0 → 100644
+ 37
- 0
service/account_service.py
0 → 100644
+ 15
- 0
\ No newline at end of file
tests/test_account_model.py
0 → 100644
+ 36
- 0
\ No newline at end of file