Merge resolution:
- Combined migration 120 (sync_log table + dev branch schema changes)
Bug fixes from intensive code review:
- C1: Fix session_id type mismatch - use datetime format matching
the staging table schema instead of varchar string (was breaking
the entire sync receive import)
- C2: Fix staging table cleanup query - use datetime comparison
matching the original admin import pattern
- W1: Add set_time_limit(300) to prevent timeout during large imports
- W2: Add REDIRECT_HTTP_AUTHORIZATION header support for Apache
mod_rewrite compatibility
- W4: Add lizenz column parsing and update during sync import
- M1: Tighten export WHERE clause to require both aktueller_verein_id
and spielernr (consistent with original export behavior)
- M2: Wrap syncGetLastStatus() in try/catch for graceful handling
when sync_log table doesn't exist yet