Improve configuration form for readability and UX

This commit is contained in:
blackcoffeexbt 2025-09-10 12:00:45 +01:00
commit abdd7a781b
12 changed files with 552 additions and 512 deletions

View file

@ -87,12 +87,13 @@ async def m004_default_config2(db):
Default config
"""
await db.execute(
"""
"""
INSERT INTO nwcprovider.config (key, value) VALUES ('relay_alias', :value)
ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;
""",
{"value": ""},
)
{"value": ""},
)
async def m005_key_last_used(db):
"""