mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-26 23:51:55 +01:00
16 lines
337 B
Python
16 lines
337 B
Python
|
async def m001_initial(db):
|
||
|
"""
|
||
|
Initial amilks table.
|
||
|
"""
|
||
|
await db.execute(
|
||
|
"""
|
||
|
CREATE TABLE amilk.amilks (
|
||
|
id TEXT PRIMARY KEY,
|
||
|
wallet TEXT NOT NULL,
|
||
|
lnurl TEXT NOT NULL,
|
||
|
atime INTEGER NOT NULL,
|
||
|
amount INTEGER NOT NULL
|
||
|
);
|
||
|
"""
|
||
|
)
|