Feature: Foto-Editor im Hundeprofil — Zoom, Drag-to-pan, Löschen

This commit is contained in:
rene 2026-04-17 23:00:21 +02:00
parent cb8ac8cffd
commit 913cebcba1
6 changed files with 234 additions and 35 deletions

View file

@ -460,6 +460,10 @@ def _migrate(conn_factory):
("direct_messages", "read_at", "TEXT"),
# Chat: Online-Indikator
("users", "last_seen", "TEXT"),
# Foto-Editor: Zoom + Position
("dogs", "foto_zoom", "REAL NOT NULL DEFAULT 1.0"),
("dogs", "foto_offset_x", "REAL NOT NULL DEFAULT 0.0"),
("dogs", "foto_offset_y", "REAL NOT NULL DEFAULT 0.0"),
]
with conn_factory() as conn:
for table, column, col_type in migrations: