fix: use bigint for amounts in postgres (#1030)

This commit is contained in:
Vlad Stan
2022-10-07 14:23:57 +02:00
committed by GitHub
parent 8d6c0a4843
commit 7711387d64
8 changed files with 23 additions and 17 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ async def m001_initial_invoices(db):
id TEXT PRIMARY KEY,
invoice_id TEXT NOT NULL,
amount INT NOT NULL,
amount {db.big_int} NOT NULL,
time TIMESTAMP NOT NULL DEFAULT {db.timestamp_now},