fix integer out of range for apipayments

related to #1030, this was missing
This commit is contained in:
ChuckNorrison 2022-11-16 23:06:21 +01:00 committed by GitHub
parent 706eef2b9a
commit 1971b9a24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ async def m001_initial(db):
f"""
CREATE TABLE IF NOT EXISTS apipayments (
payhash TEXT NOT NULL,
amount INTEGER NOT NULL,
amount {db.big_int} NOT NULL,
fee INTEGER NOT NULL DEFAULT 0,
wallet TEXT NOT NULL,
pending BOOLEAN NOT NULL,