export async function up(query) {
    await query.sequelize.query(`
    ALTER TABLE encounter_history 
    ALTER COLUMN change_type TYPE text[] 
    USING CASE 
      WHEN change_type IS NULL THEN NULL
      ELSE ARRAY[change_type]
    END;
  `);
}
export async function down(query) {
    await query.sequelize.query(`
    ALTER TABLE encounter_history 
    ALTER COLUMN change_type TYPE text 
    USING CASE 
      WHEN change_type IS NULL THEN NULL
      ELSE change_type[1]
    END;
  `);
}

//# sourceMappingURL=1761600704418-updateChangeTypeToArray.js.map