-- Migration v2 : ajout des colonnes manquantes dans patch_planning_import_rows -- (variations d'en-têtes selon semaines : nouveau format DTS introduit en cours d'année) -- Idempotent ALTER TABLE public.patch_planning_import_rows ADD COLUMN IF NOT EXISTS responsable_domaine_dts text, ADD COLUMN IF NOT EXISTS referent_technique text, ADD COLUMN IF NOT EXISTS mode_operatoire text, ADD COLUMN IF NOT EXISTS impacts text, ADD COLUMN IF NOT EXISTS base_de_donnees text; -- Pas de nouveau GRANT nécessaire (la table est déjà accessible à patchcenter)