fix: wrong typing in DB columns (#51)

* fix: wrong typing in DB columns
* fix: update
* fix: migrations
* chore: lint
This commit is contained in:
Tiago Vasconcelos 2025-04-15 12:29:34 +01:00 committed by GitHub
commit 79c74708e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 79 additions and 12 deletions

View file

@ -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