match
76 rows where home_team_id = 928 sorted by date descending
This data as json, CSV (advanced)
Suggested facets: season_id, away_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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 65468 | 2024-2025 1974 | 2025-05-18 | Brentford FC 928 | Fulham FC 926 | 2 | 3 | Premier League | 37 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65449 | 2024-2025 1974 | 2025-05-04 | Brentford FC 928 | Manchester U 924 | 4 | 3 | Premier League | 35 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65424 | 2024-2025 1974 | 2025-04-19 | Brentford FC 928 | Brighton & Hove Albion 740 | 4 | 2 | Premier League | 33 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65409 | 2024-2025 1974 | 2025-04-06 | Brentford FC 928 | Chelsea FC 915 | 0 | 0 | Premier League | 31 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65378 | 2024-2025 1974 | 2025-03-08 | Brentford FC 928 | Aston Villa 737 | 0 | 1 | Premier League | 28 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65368 | 2024-2025 1974 | 2025-02-26 | Brentford FC 928 | Everton FC 918 | 1 | 1 | Premier League | 27 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65340 | 2024-2025 1974 | 2025-02-02 | Brentford FC 928 | Tottenham Hotspur 752 | 0 | 2 | Premier League | 24 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65315 | 2024-2025 1974 | 2025-01-18 | Brentford FC 928 | Liverpool FC 914 | 0 | 2 | Premier League | 22 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65304 | 2024-2025 1974 | 2025-01-14 | Brentford FC 928 | Manchester City 748 | 2 | 2 | Premier League | 21 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65293 | 2024-2025 1974 | 2025-01-01 | Brentford FC 928 | Arsenal FC 912 | 1 | 3 | Premier League | 19 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65265 | 2024-2025 1974 | 2024-12-21 | Brentford FC 928 | Nottingham Forest 750 | 0 | 2 | Premier League | 17 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65245 | 2024-2025 1974 | 2024-12-07 | Brentford FC 928 | Newcastle United 749 | 4 | 2 | Premier League | 15 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65225 | 2024-2025 1974 | 2024-11-30 | Brentford FC 928 | Leicester City 746 | 4 | 1 | Premier League | 13 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65204 | 2024-2025 1974 | 2024-11-09 | Brentford FC 928 | AFC Bournemouth 923 | 3 | 2 | Premier League | 11 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65186 | 2024-2025 1974 | 2024-10-26 | Brentford FC 928 | Ipswich Town 745 | 4 | 3 | Premier League | 9 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65166 | 2024-2025 1974 | 2024-10-05 | Brentford FC 928 | Wolverhampton Wanderers 754 | 5 | 3 | Premier League | 7 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65156 | 2024-2025 1974 | 2024-09-28 | Brentford FC 928 | West Ham United 753 | 1 | 1 | Premier League | 6 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65125 | 2024-2025 1974 | 2024-08-31 | Brentford FC 928 | Southampton FC 920 | 3 | 1 | Premier League | 3 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65111 | 2024-2025 1974 | 2024-08-18 | Brentford FC 928 | Crystal Palace 742 | 2 | 1 | Premier League | 1 | 0 | 0 | 0 | 2026-06-11T02:05:55 | 2026-06-11T02:05:55 | International Results CSV 1 | ||||||||||
| 65095 | 2023-2024 1973 | 2024-05-19 | Brentford FC 928 | Newcastle United 749 | 2 | 4 | Premier League | 38 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65076 | 2023-2024 1973 | 2024-05-04 | Brentford FC 928 | Fulham FC 926 | 0 | 0 | Premier League | 36 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65045 | 2023-2024 1973 | 2024-04-13 | Brentford FC 928 | Sheffield United 758 | 2 | 0 | Premier League | 33 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65030 | 2023-2024 1973 | 2024-04-03 | Brentford FC 928 | Brighton & Hove Albion 740 | 0 | 0 | Premier League | 31 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 65021 | 2023-2024 1973 | 2024-03-30 | Brentford FC 928 | Manchester U 924 | 1 | 1 | Premier League | 30 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64984 | 2023-2024 1973 | 2024-03-02 | Brentford FC 928 | Chelsea FC 915 | 2 | 2 | Premier League | 27 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64964 | 2023-2024 1973 | 2024-02-17 | Brentford FC 928 | Liverpool FC 914 | 1 | 4 | Premier League | 25 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64953 | 2023-2024 1973 | 2024-02-05 | Brentford FC 928 | Manchester City 748 | 1 | 3 | Premier League | 23 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64930 | 2023-2024 1973 | 2024-01-20 | Brentford FC 928 | Nottingham Forest 750 | 3 | 2 | Premier League | 21 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64909 | 2023-2024 1973 | 2023-12-27 | Brentford FC 928 | Wolverhampton Wanderers 754 | 1 | 4 | Premier League | 19 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64890 | 2023-2024 1973 | 2023-12-17 | Brentford FC 928 | Aston Villa 737 | 1 | 2 | Premier League | 17 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64854 | 2023-2024 1973 | 2023-12-02 | Brentford FC 928 | Luton Town 757 | 3 | 1 | Premier League | 14 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64849 | 2023-2024 1973 | 2023-11-25 | Brentford FC 928 | Arsenal FC 912 | 0 | 1 | Premier League | 13 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64824 | 2023-2024 1973 | 2023-11-04 | Brentford FC 928 | West Ham United 753 | 3 | 2 | Premier League | 11 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64805 | 2023-2024 1973 | 2023-10-21 | Brentford FC 928 | Burnley FC 916 | 3 | 0 | Premier League | 9 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64776 | 2023-2024 1973 | 2023-09-23 | Brentford FC 928 | Everton FC 918 | 1 | 3 | Premier League | 6 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64755 | 2023-2024 1973 | 2023-09-02 | Brentford FC 928 | AFC Bournemouth 923 | 2 | 2 | Premier League | 4 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64746 | 2023-2024 1973 | 2023-08-26 | Brentford FC 928 | Crystal Palace 742 | 1 | 1 | Premier League | 3 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64730 | 2023-2024 1973 | 2023-08-13 | Brentford FC 928 | Tottenham Hotspur 752 | 2 | 2 | Premier League | 1 | 0 | 0 | 0 | 2026-06-11T02:05:54 | 2026-06-11T02:05:54 | International Results CSV 1 | ||||||||||
| 64715 | 2022-2023 1972 | 2023-05-28 | Brentford FC 928 | Manchester City 748 | 1 | 0 | Premier League | 38 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64699 | 2022-2023 1972 | 2023-05-14 | Brentford FC 928 | West Ham United 753 | 2 | 0 | Premier League | 36 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64674 | 2022-2023 1972 | 2023-04-29 | Brentford FC 928 | Nottingham Forest 750 | 2 | 1 | Premier League | 34 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64655 | 2022-2023 1972 | 2023-04-22 | Brentford FC 928 | Aston Villa 737 | 1 | 1 | Premier League | 32 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64635 | 2022-2023 1972 | 2023-04-08 | Brentford FC 928 | Newcastle United 749 | 1 | 2 | Premier League | 30 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64615 | 2022-2023 1972 | 2023-03-18 | Brentford FC 928 | Leicester City 746 | 1 | 1 | Premier League | 28 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64602 | 2022-2023 1972 | 2023-03-06 | Brentford FC 928 | Fulham FC 926 | 3 | 2 | Premier League | 26 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64574 | 2022-2023 1972 | 2023-02-18 | Brentford FC 928 | Crystal Palace 742 | 1 | 1 | Premier League | 24 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64556 | 2022-2023 1972 | 2023-02-04 | Brentford FC 928 | Southampton FC 920 | 3 | 0 | Premier League | 22 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64539 | 2022-2023 1972 | 2023-01-14 | Brentford FC 928 | AFC Bournemouth 923 | 2 | 0 | Premier League | 20 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64523 | 2022-2023 1972 | 2023-01-02 | Brentford FC 928 | Liverpool FC 914 | 3 | 1 | Premier League | 19 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64503 | 2022-2023 1972 | 2022-12-26 | Brentford FC 928 | Tottenham Hotspur 752 | 2 | 2 | Premier League | 17 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64475 | 2022-2023 1972 | 2022-10-29 | Brentford FC 928 | Wolverhampton Wanderers 754 | 1 | 1 | Premier League | 14 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64456 | 2022-2023 1972 | 2022-10-19 | Brentford FC 928 | Chelsea FC 915 | 0 | 0 | Premier League | 12 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64443 | 2022-2023 1972 | 2022-10-14 | Brentford FC 928 | Brighton & Hove Albion 740 | 2 | 0 | Premier League | 11 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64418 | 2022-2023 1972 | 2022-09-18 | Brentford FC 928 | Arsenal FC 912 | 0 | 3 | Premier League | 8 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64394 | 2022-2023 1972 | 2022-09-03 | Brentford FC 928 | Leeds United 755 | 5 | 2 | Premier League | 6 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64374 | 2022-2023 1972 | 2022-08-27 | Brentford FC 928 | Everton FC 918 | 1 | 1 | Premier League | 4 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64359 | 2022-2023 1972 | 2022-08-13 | Brentford FC 928 | Manchester U 924 | 4 | 0 | Premier League | 2 | 0 | 0 | 0 | 2026-06-11T02:05:53 | 2026-06-11T02:05:53 | International Results CSV 1 | ||||||||||
| 64334 | 2021-2022 1971 | 2022-05-22 | Brentford FC 928 | Leeds United 755 | 1 | 2 | Premier League | 38 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64313 | 2021-2022 1971 | 2022-05-07 | Brentford FC 928 | Southampton FC 920 | 3 | 0 | Premier League | 36 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64297 | 2021-2022 1971 | 2022-04-23 | Brentford FC 928 | Tottenham Hotspur 752 | 0 | 0 | Premier League | 34 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64279 | 2021-2022 1971 | 2022-04-10 | Brentford FC 928 | West Ham United 753 | 2 | 0 | Premier League | 32 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64244 | 2021-2022 1971 | 2022-03-12 | Brentford FC 928 | Burnley FC 916 | 2 | 0 | Premier League | 29 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64225 | 2021-2022 1971 | 2022-02-26 | Brentford FC 928 | Newcastle United 749 | 0 | 2 | Premier League | 27 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64206 | 2021-2022 1971 | 2022-02-12 | Brentford FC 928 | Crystal Palace 742 | 0 | 0 | Premier League | 25 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64185 | 2021-2022 1971 | 2022-01-22 | Brentford FC 928 | Wolverhampton Wanderers 754 | 1 | 2 | Premier League | 23 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64131 | 2021-2022 1971 | 2022-01-19 | Brentford FC 928 | Manchester U 924 | 1 | 3 | Premier League | 17 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64167 | 2021-2022 1971 | 2022-01-02 | Brentford FC 928 | Aston Villa 737 | 2 | 1 | Premier League | 21 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64158 | 2021-2022 1971 | 2021-12-29 | Brentford FC 928 | Manchester City 748 | 0 | 1 | Premier League | 20 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64113 | 2021-2022 1971 | 2021-12-10 | Brentford FC 928 | Watford FC 913 | 2 | 1 | Premier League | 16 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64089 | 2021-2022 1971 | 2021-11-28 | Brentford FC 928 | Everton FC 918 | 1 | 0 | Premier League | 13 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64065 | 2021-2022 1971 | 2021-11-06 | Brentford FC 928 | Norwich City 927 | 1 | 2 | Premier League | 11 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64050 | 2021-2022 1971 | 2021-10-24 | Brentford FC 928 | Leicester City 746 | 1 | 2 | Premier League | 9 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64039 | 2021-2022 1971 | 2021-10-16 | Brentford FC 928 | Chelsea FC 915 | 0 | 1 | Premier League | 8 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 64019 | 2021-2022 1971 | 2021-09-25 | Brentford FC 928 | Liverpool FC 914 | 3 | 3 | Premier League | 6 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 63997 | 2021-2022 1971 | 2021-09-11 | Brentford FC 928 | Brighton & Hove Albion 740 | 0 | 1 | Premier League | 4 | 0 | 0 | 0 | 2026-06-11T02:05:51 | 2026-06-11T02:05:51 | International Results CSV 1 | ||||||||||
| 63963 | 2021-2022 1971 | 2021-08-13 | Brentford FC 928 | Arsenal FC 912 | 2 | 0 | Premier League | 1 | 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);