concatenate first migrations script
fixup
This commit is contained in:
@@ -75,5 +75,4 @@ class Settings(BaseSettings):
|
|||||||
|
|
||||||
|
|
||||||
conf = Settings()
|
conf = Settings()
|
||||||
print(conf)
|
|
||||||
WALLET = wallet_class()
|
WALLET = wallet_class()
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ async def get_admin_user():
|
|||||||
|
|
||||||
|
|
||||||
async def m001_create_admin_table(db):
|
async def m001_create_admin_table(db):
|
||||||
|
|
||||||
|
|
||||||
# users/server
|
# users/server
|
||||||
user = await get_admin_user()
|
user = await get_admin_user()
|
||||||
admin_users = ",".join(conf.admin_users)
|
admin_users = ",".join(conf.admin_users)
|
||||||
@@ -126,9 +128,6 @@ async def m001_create_admin_table(db):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def m001_create_funding_table(db):
|
|
||||||
|
|
||||||
funding_wallet = getenv("LNBITS_BACKEND_WALLET_CLASS")
|
funding_wallet = getenv("LNBITS_BACKEND_WALLET_CLASS")
|
||||||
|
|
||||||
# Make the funding table, if it does not already exist
|
# Make the funding table, if it does not already exist
|
||||||
|
|||||||
Reference in New Issue
Block a user