fix: wrong typing in DB columns (#51)
* fix: wrong typing in DB columns * fix: update * fix: migrations * chore: lint
This commit is contained in:
parent
3edd81d85e
commit
79c74708e1
4 changed files with 79 additions and 12 deletions
|
|
@ -17,10 +17,8 @@ class Card(BaseModel):
|
|||
uid: str
|
||||
external_id: str
|
||||
counter: int
|
||||
# TODO: database column is TEXT should be INT
|
||||
tx_limit: str
|
||||
# TODO: database column is TEXT should be INT
|
||||
daily_limit: str
|
||||
tx_limit: int
|
||||
daily_limit: int
|
||||
enable: bool
|
||||
k0: str
|
||||
k1: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue