Feature: UX-Fixes — Zahnrad weg, POI-Kombi-Typen, exp-fab-Position, Welten-Config in DB (SW by-v653)
- worlds-settings Zahnrad komplett entfernt (war auf Mobile sichtbar, auf Desktop schon hidden) - exp-fab: bottom jetzt calc(--nav-bottom-height + --safe-bottom + --space-2) — kein Overlap mit worlds-back auf iPhone - Karte POI: neue Typen bank, bank_kotbeutel, bank_kotbeutel_abfall, kotbeutel_abfall (Backend + Frontend) - Welten-Chip-Config: GET/PUT /profile/world-config, Spalte users.world_config TEXT (Migration), Sync bei Init + Speichern
This commit is contained in:
parent
f0b5e6e89b
commit
1fdba57365
9 changed files with 84 additions and 27 deletions
|
|
@ -1923,6 +1923,11 @@ def _migrate(conn_factory):
|
|||
)
|
||||
""")
|
||||
|
||||
# Welten-Chip-Konfiguration pro User
|
||||
existing_u = [row[1] for row in conn.execute("PRAGMA table_info(users)").fetchall()]
|
||||
if 'world_config' not in existing_u:
|
||||
conn.execute("ALTER TABLE users ADD COLUMN world_config TEXT")
|
||||
|
||||
# Wiederkehrende Ausgaben (Daueraufträge)
|
||||
conn.executescript("""
|
||||
CREATE TABLE IF NOT EXISTS recurring_expenses (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue