Add username field to DCA clients: update database schema, CRUD operations, and UI components to support username functionality for improved user experience.

This commit is contained in:
padreug 2025-06-18 17:04:54 +02:00
parent 1d9cda3931
commit b615ed0504
5 changed files with 35 additions and 11 deletions

View file

@ -176,3 +176,15 @@ async def m008_add_last_poll_tracking(db):
ADD COLUMN last_successful_poll TIMESTAMP;
"""
)
async def m009_add_username_to_dca_clients(db):
"""
Add username field to DCA clients table for better user experience.
"""
await db.execute(
"""
ALTER TABLE myextension.dca_clients
ADD COLUMN username TEXT;
"""
)