sorarebuddy/db/migrations/00007_membership_indexes.sql
2024-06-06 09:52:54 +04:00

6 lines
236 B
SQL

-- +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;