Add timefix and vacation routes to backend; update frontend for new routes and page titles

This commit is contained in:
Torsten Schulz (local)
2025-10-17 15:54:30 +02:00
parent e95bb4cb76
commit b65a13d815
16 changed files with 1913 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
-- Füge Index für vacation Tabelle hinzu
-- Optimiert die Abfrage: WHERE user_id = ? AND first_day >= ? ORDER BY first_day DESC
CREATE INDEX idx_vacation_user_first_day
ON vacation (user_id, first_day DESC);
-- Prüfe ob der Index erstellt wurde
SHOW INDEX FROM vacation WHERE Key_name = 'idx_vacation_user_first_day';