Fix: users.geburtstag Migration + Format TT.MM statt MM-DD
- database.py: ALTER TABLE users ADD COLUMN geburtstag TEXT (fehlte!)
- profile.py: Validierung auf \d{2}\.\d{2} (TT.MM Format)
- settings.js: Placeholder/Pattern auf TT.MM geändert
- worlds.js: Birthday-Check auf DD.MM Format angepasst
SW by-v1029, APP_VER 1029
This commit is contained in:
parent
a4377033ec
commit
b54d9fda99
7 changed files with 16 additions and 10 deletions
|
|
@ -2450,6 +2450,12 @@ def _migrate(conn_factory):
|
|||
except Exception:
|
||||
pass
|
||||
|
||||
try:
|
||||
conn.execute("ALTER TABLE users ADD COLUMN geburtstag TEXT")
|
||||
logger.info("Migration: users.geburtstag bereit.")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
def _seed_help_articles(conn):
|
||||
"""Befüllt help_articles mit Starter-FAQs — nur wenn die Tabelle noch leer ist."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue