controlplane/migrations/0026_gigantic_robin_chapel.sql (1 lines of code) (raw):
-- Custom SQL migration file, put you code below! --
-- Create an index on the labels column for faster lookups
-- Drizzle does not support GIN indexes yet, so we need to create it manually
CREATE INDEX IF NOT EXISTS "label_matcher_idx" ON "target_label_matchers" USING GIN ("label_matcher");