sorarebuddy/db/migrations/00007_membership_indexes.sql

6 lines
231 B
MySQL
Raw Normal View History

2024-05-23 04:18:54 +00:00
-- +goose Up
CREATE INDEX IF NOT EXISTS idx_memberships_on_player_slug_start_date_end_date ON memberships(player_slug, start_date, end_date);
-- +goose Down
DROP INDEX IF EXISTS idx_memberships_on_player_slug_start_date_end_date;