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

View File

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