import { Knex } from 'knex'

export const up = async (knex: Knex): Promise<void> => {
  await knex.raw("UPDATE titres_etapes SET statut_id = 'fai' WHERE type_id = 'dpu' AND slug like 'c-%'")
  await knex.raw("UPDATE titres_etapes SET statut_id = 'rei', type_id = 'dex' WHERE type_id = 'dim' AND slug like 'c-%'")
}

export const down = (): void => {}
