Add passive_deletes=True to daily_sessions and activity_logs relationships so the ORM defers to MySQL's ON DELETE CASCADE instead of trying to SET NULL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add passive_deletes=True to daily_sessions and activity_logs relationships so the ORM defers to MySQL's ON DELETE CASCADE instead of trying to SET NULL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>