7 lines
310 B
MySQL
7 lines
310 B
MySQL
|
-- +goose Up
|
||
|
CREATE INDEX IF NOT EXISTS idx_games_away_team_slug_date ON games(away_team_slug, date);
|
||
|
CREATE INDEX IF NOT EXISTS idx_games_home_team_slug_date ON games(home_team_slug, date);
|
||
|
-- +goose Down
|
||
|
DROP INDEX IF EXISTS idx_games_away_team_slug_date;
|
||
|
DROP INDEX IF EXISTS idx_games_home_team_slug_date;
|