mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-26 16:51:42 +02:00
Merge pull request #1133 from ChuckNorrison/patch-3
fix integer out of range for apipayments
This commit is contained in:
commit
94ad2cc96d
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user