UI works well

This commit is contained in:
ben
2022-09-16 13:20:42 +01:00
parent ae06636293
commit cf849b260c
14 changed files with 1600 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
async def m001_initial(db):
"""
Initial cashu table.
"""
await db.execute(
"""
CREATE TABLE cashu.cashu (
id TEXT PRIMARY KEY,
wallet TEXT NOT NULL,
name TEXT NOT NULL,
tickershort TEXT NOT NULL,
fraction BOOL,
maxsats INT,
coins INT
);
"""
)
"""
Initial cashus table.
"""
await db.execute(
"""
CREATE TABLE cashu.pegs (
id TEXT PRIMARY KEY,
wallet TEXT NOT NULL,
inout BOOL NOT NULL,
amount INT
);
"""
)