• Mahmoud Aglan's avatar
    fix: align remaining modules to actual Supabase column schemas · 0402e2b4
    Mahmoud Aglan authored
    - ads: remove non-existent columns (advertiser, placement, cpm, title, body, click_url, image_url), use actual schema (campaign_type, target_slots, target_games, budget_daily)
    - moderation: resolution→action_taken, resolved_by→reviewed_by (UUID), resolved_at→reviewed_at
    - tournaments: el3ab_tournament_players→tournament_registrations, swiss_tournament_id→swiss_api_tournament_id
    - players: remove email from insert (not in profiles), banned_at removed, use ban_expires_at
    - notifications: remove is_broadcast (not in schema), detect broadcast by null user_id
    - settings: is_editable→is_secret, handle JSONB value column
    - auth: last_login→last_login_at
    - Created el3ab_tournament_rounds table on server
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    0402e2b4
controller.php 2.92 KB