mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-21 14:10:30 +02:00
needed migration file
This commit is contained in:
@@ -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")
|
||||
|
||||
|
11
lnbits/extensions/ngrok/migrations.py
Normal file
11
lnbits/extensions/ngrok/migrations.py
Normal 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 + """
|
||||
# );
|
||||
# """
|
||||
# )
|
Reference in New Issue
Block a user