mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
17 lines
391 B
Python
17 lines
391 B
Python
async def m001_initial(db):
|
|
"""
|
|
Initial lnurlpayouts table.
|
|
"""
|
|
await db.execute(
|
|
"""
|
|
CREATE TABLE lnurlpayout.lnurlpayouts (
|
|
id TEXT PRIMARY KEY,
|
|
title TEXT NOT NULL,
|
|
wallet TEXT NOT NULL,
|
|
admin_key TEXT NOT NULL,
|
|
lnurlpay TEXT NOT NULL,
|
|
threshold INT NOT NULL
|
|
);
|
|
"""
|
|
)
|