-- Align VARCHAR columns that are mapped as TEXT in current JPA entities.

ALTER TABLE DOC.doc_document
    ALTER COLUMN title TYPE TEXT;

ALTER TABLE TED.ted_notice_projection
    ALTER COLUMN notice_url TYPE TEXT;

ALTER TABLE TED.ted_notice_projection
    ALTER COLUMN buyer_postal_code TYPE TEXT;

ALTER TABLE TED.ted_notice_projection
    ALTER COLUMN internal_reference TYPE TEXT;

ALTER TABLE TED.ted_notice_organization
    ALTER COLUMN company_id TYPE TEXT;
