SET search_path TO TED, DOC, public;

CREATE INDEX IF NOT EXISTS idx_ted_procurement_document_created_at_id
    ON TED.procurement_document (created_at ASC, id ASC);

ALTER TABLE DOC.doc_legacy_ted_migration_run
    ADD COLUMN IF NOT EXISTS build_chunk_representations boolean NOT NULL DEFAULT true;
