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
@@ -25,7 +25,7 @@ async def m001_initial(db):
name TEXT NOT NULL,
message TEXT NOT NULL,
cur_code TEXT NOT NULL,
sats INT NOT NULL,
sats {db.big_int} NOT NULL,
amount FLOAT NOT NULL,
service INTEGER NOT NULL,
posted BOOLEAN NOT NULL,