Merge pull request #1133 from ChuckNorrison/patch-3

fix integer out of range for apipayments
This commit is contained in:
Vlad Stan
2022-11-17 15:45:41 +02:00
committed by GitHub

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,