needed migration file

This commit is contained in:
Ben Arc
2021-07-03 16:12:07 +01:00
parent 4fc947adff
commit 7a18a44948
2 changed files with 14 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
from quart import Blueprint
from lnbits.db import Database
db = Database("ext_example")
ngrok_ext: Blueprint = Blueprint("ngrok", __name__, template_folder="templates")

View File

@@ -0,0 +1,11 @@
# async def m001_initial(db):
# await db.execute(
# """
# CREATE TABLE example.example (
# id TEXT PRIMARY KEY,
# wallet TEXT NOT NULL,
# time TIMESTAMP NOT NULL DEFAULT """ + db.timestamp_now + """
# );
# """
# )