mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-26 15:42:30 +01:00
15 lines
333 B
Python
15 lines
333 B
Python
def m001_initial(db):
|
|
"""
|
|
Initial amilks table.
|
|
"""
|
|
db.execute(
|
|
"""
|
|
CREATE TABLE IF NOT EXISTS amilks (
|
|
id TEXT PRIMARY KEY,
|
|
wallet TEXT NOT NULL,
|
|
lnurl TEXT NOT NULL,
|
|
atime INTEGER NOT NULL,
|
|
amount INTEGER NOT NULL
|
|
);
|
|
"""
|
|
)
|