columns:
  acte_id:
    type: bigint
    not_null: NOT NULL
  date_debut:
    type: date
    not_null: NOT NULL
  heure_debut:
    type: numeric(6,0)
    default: "0"
  medecin_anesthesiste_id:
    type: bigint
    default: "0"
  medecin_chirurgien_id:
    type: bigint
    default: "0"
  salle_id:
    type: bigint
    default: "0"
  sejour_id:
    type: bigint
    not_null: NOT NULL
constraints:
  intervention_ukey:
    type: UNIQUE
    column: date_debut, heure_debut, sejour_id
indexes:
  i_intervention_1:
    column: sejour_id
    method: btree
  i_intervention_2:
    column: date_debut
    method: btree
  i_intervention_3:
    column: acte_id
    method: btree
  i_intervention_4:
    column: medecin_chirurgien_id
    method: btree
  i_intervention_5:
    column: medecin_anesthesiste_id
    method: btree