match
76 rows where away_team_id = 928 sorted by date descending
This data as json, CSV (advanced)
Suggested facets: season_id, home_team_id, home_score, away_score, created_at, updated_at, date (date), created_at (date), updated_at (date)
| match_id | season_id | date ▲ | kickoff | home_team_id | away_team_id | home_score | away_score | result | round_stage | matchday | venue | city | country | referee | attendance | is_neutral | is_postponed | is_cancelled | created_at | updated_at | created_by_run_id | updated_by_run_id | source_id | source_raw_key |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 65483 | 2024-2025 1974 | 2025-05-25 | Wolverhampton Wanderers 754 | Brentford FC 928 | 1 | 1 | Premier League | 38 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65455 | 2024-2025 1974 | 2025-05-10 | Ipswich Town 745 | Brentford FC 928 | 0 | 1 | Premier League | 36 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65443 | 2024-2025 1974 | 2025-05-01 | Nottingham Forest 750 | Brentford FC 928 | 0 | 2 | Premier League | 34 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65418 | 2024-2025 1974 | 2025-04-12 | Arsenal FC 912 | Brentford FC 928 | 1 | 1 | Premier League | 32 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65400 | 2024-2025 1974 | 2025-04-02 | Newcastle United 749 | Brentford FC 928 | 2 | 1 | Premier League | 30 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65389 | 2024-2025 1974 | 2025-03-15 | AFC Bournemouth 923 | Brentford FC 928 | 1 | 2 | Premier League | 29 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65354 | 2024-2025 1974 | 2025-02-21 | Leicester City 746 | Brentford FC 928 | 0 | 4 | Premier League | 26 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65350 | 2024-2025 1974 | 2025-02-15 | West Ham United 753 | Brentford FC 928 | 0 | 1 | Premier League | 25 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65330 | 2024-2025 1974 | 2025-01-26 | Crystal Palace 742 | Brentford FC 928 | 1 | 2 | Premier League | 23 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65299 | 2024-2025 1974 | 2025-01-04 | Southampton FC 920 | Brentford FC 928 | 0 | 5 | Premier League | 20 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65282 | 2024-2025 1974 | 2024-12-27 | Brighton & Hove Albion 740 | Brentford FC 928 | 0 | 0 | Premier League | 18 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65261 | 2024-2025 1974 | 2024-12-15 | Chelsea FC 915 | Brentford FC 928 | 2 | 1 | Premier League | 16 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65241 | 2024-2025 1974 | 2024-12-04 | Aston Villa 737 | Brentford FC 928 | 3 | 1 | Premier League | 14 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65218 | 2024-2025 1974 | 2024-11-23 | Everton FC 918 | Brentford FC 928 | 0 | 0 | Premier League | 12 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65203 | 2024-2025 1974 | 2024-11-04 | Fulham FC 926 | Brentford FC 928 | 2 | 1 | Premier League | 10 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65176 | 2024-2025 1974 | 2024-10-19 | Manchester U 924 | Brentford FC 928 | 2 | 1 | Premier League | 8 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65150 | 2024-2025 1974 | 2024-09-21 | Tottenham Hotspur 752 | Brentford FC 928 | 3 | 1 | Premier League | 5 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65139 | 2024-2025 1974 | 2024-09-14 | Manchester City 748 | Brentford FC 928 | 2 | 1 | Premier League | 4 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65123 | 2024-2025 1974 | 2024-08-25 | Liverpool FC 914 | Brentford FC 928 | 2 | 0 | Premier League | 2 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65085 | 2023-2024 1973 | 2024-05-11 | AFC Bournemouth 923 | Brentford FC 928 | 1 | 2 | Premier League | 37 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65069 | 2023-2024 1973 | 2024-04-27 | Everton FC 918 | Brentford FC 928 | 1 | 0 | Premier League | 35 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65054 | 2023-2024 1973 | 2024-04-20 | Luton Town 757 | Brentford FC 928 | 1 | 5 | Premier League | 34 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65035 | 2023-2024 1973 | 2024-04-06 | Aston Villa 737 | Brentford FC 928 | 3 | 3 | Premier League | 32 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65004 | 2023-2024 1973 | 2024-03-16 | Burnley FC 916 | Brentford FC 928 | 2 | 1 | Premier League | 29 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64998 | 2023-2024 1973 | 2024-03-09 | Arsenal FC 912 | Brentford FC 928 | 2 | 1 | Premier League | 28 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64982 | 2023-2024 1973 | 2024-02-26 | West Ham United 753 | Brentford FC 928 | 4 | 2 | Premier League | 26 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64903 | 2023-2024 1973 | 2024-02-20 | Manchester City 748 | Brentford FC 928 | 1 | 0 | Premier League | 18 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64959 | 2023-2024 1973 | 2024-02-10 | Wolverhampton Wanderers 754 | Brentford FC 928 | 0 | 2 | Premier League | 24 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64940 | 2023-2024 1973 | 2024-01-31 | Tottenham Hotspur 752 | Brentford FC 928 | 3 | 2 | Premier League | 22 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64916 | 2023-2024 1973 | 2023-12-30 | Crystal Palace 742 | Brentford FC 928 | 3 | 1 | Premier League | 20 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64876 | 2023-2024 1973 | 2023-12-09 | Sheffield United 758 | Brentford FC 928 | 1 | 0 | Premier League | 16 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64865 | 2023-2024 1973 | 2023-12-06 | Brighton & Hove Albion 740 | Brentford FC 928 | 2 | 1 | Premier League | 15 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64840 | 2023-2024 1973 | 2023-11-12 | Liverpool FC 914 | Brentford FC 928 | 3 | 0 | Premier League | 12 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64814 | 2023-2024 1973 | 2023-10-28 | Chelsea FC 915 | Brentford FC 928 | 0 | 2 | Premier League | 10 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64797 | 2023-2024 1973 | 2023-10-07 | Manchester U 924 | Brentford FC 928 | 2 | 1 | Premier League | 8 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64791 | 2023-2024 1973 | 2023-10-01 | Nottingham Forest 750 | Brentford FC 928 | 1 | 1 | Premier League | 7 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64769 | 2023-2024 1973 | 2023-09-16 | Newcastle United 749 | Brentford FC 928 | 1 | 0 | Premier League | 5 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64734 | 2023-2024 1973 | 2023-08-19 | Fulham FC 926 | Brentford FC 928 | 0 | 3 | Premier League | 2 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64703 | 2022-2023 1972 | 2023-05-20 | Tottenham Hotspur 752 | Brentford FC 928 | 1 | 3 | Premier League | 37 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64687 | 2022-2023 1972 | 2023-05-06 | Liverpool FC 914 | Brentford FC 928 | 1 | 0 | Premier League | 35 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64667 | 2022-2023 1972 | 2023-04-26 | Chelsea FC 915 | Brentford FC 928 | 0 | 2 | Premier League | 33 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64647 | 2022-2023 1972 | 2023-04-15 | Wolverhampton Wanderers 754 | Brentford FC 928 | 2 | 0 | Premier League | 31 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64591 | 2022-2023 1972 | 2023-04-05 | Manchester U 924 | Brentford FC 928 | 1 | 0 | Premier League | 25 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64626 | 2022-2023 1972 | 2023-04-01 | Brighton & Hove Albion 740 | Brentford FC 928 | 3 | 3 | Premier League | 29 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64408 | 2022-2023 1972 | 2023-03-15 | Southampton FC 920 | Brentford FC 928 | 0 | 2 | Premier League | 7 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64604 | 2022-2023 1972 | 2023-03-11 | Everton FC 918 | Brentford FC 928 | 1 | 0 | Premier League | 27 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64564 | 2022-2023 1972 | 2023-02-11 | Arsenal FC 912 | Brentford FC 928 | 1 | 1 | Premier League | 23 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64549 | 2022-2023 1972 | 2023-01-22 | Leeds United 755 | Brentford FC 928 | 0 | 0 | Premier League | 21 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64513 | 2022-2023 1972 | 2022-12-30 | West Ham United 753 | Brentford FC 928 | 0 | 2 | Premier League | 18 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64493 | 2022-2023 1972 | 2022-11-12 | Manchester City 748 | Brentford FC 928 | 1 | 2 | Premier League | 16 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64485 | 2022-2023 1972 | 2022-11-05 | Nottingham Forest 750 | Brentford FC 928 | 2 | 2 | Premier League | 15 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64467 | 2022-2023 1972 | 2022-10-23 | Aston Villa 737 | Brentford FC 928 | 4 | 0 | Premier League | 13 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64436 | 2022-2023 1972 | 2022-10-08 | Newcastle United 749 | Brentford FC 928 | 5 | 1 | Premier League | 10 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64424 | 2022-2023 1972 | 2022-10-01 | AFC Bournemouth 923 | Brentford FC 928 | 0 | 0 | Premier League | 9 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64383 | 2022-2023 1972 | 2022-08-30 | Crystal Palace 742 | Brentford FC 928 | 1 | 1 | Premier League | 5 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64366 | 2022-2023 1972 | 2022-08-20 | Fulham FC 926 | Brentford FC 928 | 3 | 2 | Premier League | 3 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64350 | 2022-2023 1972 | 2022-08-07 | Leicester City 746 | Brentford FC 928 | 2 | 2 | Premier League | 1 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64330 | 2021-2022 1971 | 2022-05-15 | Everton FC 918 | Brentford FC 928 | 2 | 3 | Premier League | 37 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64312 | 2021-2022 1971 | 2022-05-02 | Manchester U 924 | Brentford FC 928 | 3 | 0 | Premier League | 35 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64286 | 2021-2022 1971 | 2022-04-16 | Watford FC 913 | Brentford FC 928 | 1 | 2 | Premier League | 33 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64266 | 2021-2022 1971 | 2022-04-02 | Chelsea FC 915 | Brentford FC 928 | 1 | 4 | Premier League | 31 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64256 | 2021-2022 1971 | 2022-03-20 | Leicester City 746 | Brentford FC 928 | 2 | 1 | Premier League | 30 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64237 | 2021-2022 1971 | 2022-03-05 | Norwich City 927 | Brentford FC 928 | 1 | 3 | Premier League | 28 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64214 | 2021-2022 1971 | 2022-02-19 | Arsenal FC 912 | Brentford FC 928 | 2 | 1 | Premier League | 26 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64197 | 2021-2022 1971 | 2022-02-09 | Manchester City 748 | Brentford FC 928 | 2 | 0 | Premier League | 24 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64180 | 2021-2022 1971 | 2022-01-16 | Liverpool FC 914 | Brentford FC 928 | 3 | 0 | Premier League | 22 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64137 | 2021-2022 1971 | 2022-01-11 | Southampton FC 920 | Brentford FC 928 | 4 | 1 | Premier League | 18 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64148 | 2021-2022 1971 | 2021-12-26 | Brighton & Hove Albion 740 | Brentford FC 928 | 2 | 0 | Premier League | 19 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64108 | 2021-2022 1971 | 2021-12-05 | Leeds United 755 | Brentford FC 928 | 2 | 2 | Premier League | 15 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64101 | 2021-2022 1971 | 2021-12-02 | Tottenham Hotspur 752 | Brentford FC 928 | 2 | 0 | Premier League | 14 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64079 | 2021-2022 1971 | 2021-11-20 | Newcastle United 749 | Brentford FC 928 | 3 | 3 | Premier League | 12 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64054 | 2021-2022 1971 | 2021-10-30 | Burnley FC 916 | Brentford FC 928 | 3 | 1 | Premier League | 10 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64031 | 2021-2022 1971 | 2021-10-03 | West Ham United 753 | Brentford FC 928 | 1 | 2 | Premier League | 7 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64004 | 2021-2022 1971 | 2021-09-18 | Wolverhampton Wanderers 754 | Brentford FC 928 | 0 | 2 | Premier League | 5 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 63985 | 2021-2022 1971 | 2021-08-28 | Aston Villa 737 | Brentford FC 928 | 1 | 1 | Premier League | 3 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 63975 | 2021-2022 1971 | 2021-08-21 | Crystal Palace 742 | Brentford FC 928 | 0 | 0 | Premier League | 2 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE match (
match_id INTEGER NOT NULL,
season_id INTEGER NOT NULL,
date DATE NOT NULL,
kickoff DATETIME,
home_team_id INTEGER NOT NULL,
away_team_id INTEGER NOT NULL,
home_score INTEGER,
away_score INTEGER,
result VARCHAR(1),
round_stage VARCHAR(64),
matchday INTEGER,
venue VARCHAR(256),
city VARCHAR(128),
country VARCHAR(128),
referee VARCHAR(128),
attendance INTEGER,
is_neutral BOOLEAN NOT NULL,
is_postponed BOOLEAN NOT NULL,
is_cancelled BOOLEAN NOT NULL,
created_at DATETIME NOT NULL,
updated_at DATETIME NOT NULL,
created_by_run_id INTEGER,
updated_by_run_id INTEGER,
source_id INTEGER,
source_raw_key VARCHAR(512),
CONSTRAINT pk_match PRIMARY KEY (match_id),
CONSTRAINT fk_match_season FOREIGN KEY(season_id) REFERENCES season (season_id),
CONSTRAINT fk_match_home_team FOREIGN KEY(home_team_id) REFERENCES team (team_id),
CONSTRAINT fk_match_away_team FOREIGN KEY(away_team_id) REFERENCES team (team_id),
CONSTRAINT fk_match_source FOREIGN KEY(source_id) REFERENCES data_source (source_id),
CONSTRAINT fk_match_created_by_run FOREIGN KEY(created_by_run_id) REFERENCES ingestion_run (run_id),
CONSTRAINT fk_match_updated_by_run FOREIGN KEY(updated_by_run_id) REFERENCES ingestion_run (run_id)
);
CREATE INDEX ix_match_away_team_id ON match (away_team_id);
CREATE INDEX ix_match_created_by_run_id ON match (created_by_run_id);
CREATE INDEX ix_match_source_id ON match (source_id);
CREATE INDEX ix_match_updated_by_run_id ON match (updated_by_run_id);
CREATE INDEX ix_match_date ON match (date);
CREATE INDEX ix_match_season_id ON match (season_id);
CREATE INDEX ix_match_source_raw_key ON match (source_raw_key);
CREATE INDEX ix_match_home_team_id ON match (home_team_id);
CREATE UNIQUE INDEX ux_match_season_date_teams ON match(season_id, date, home_team_id, away_team_id);