rétablir un bon format de table quand on a un nouveau wiki sur une vieille table

Concerne
  • Codes utiles /raw...
  • Phpmyadmin
La réponse on passe par phpmyadmin et on applique cette requête sql (en changeant le prefixe)

ALTER TABLE <prefixe>_nature
  DROP IF EXISTS bn_ce_id_menu,
  DROP IF EXISTS bn_commentaire,
  DROP IF EXISTS bn_appropriation,
  DROP IF EXISTS bn_image_titre,
  DROP IF EXISTS bn_image_logo,
  DROP IF EXISTS bn_couleur_calendrier,
  DROP IF EXISTS bn_picto_calendrier,
  DROP IF EXISTS bn_type_fiche,
  DROP IF EXISTS bn_label_class,
  MODIFY COLUMN bn_ce_i18n VARCHAR(5) NOT NULL DEFAULT '';