7 lines
316 B
SQL
7 lines
316 B
SQL
-- +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;
|