- id_ancien VARCHAR(8) NOT NULL COMMENT 'Id unique de l''ancien',
- Intitule_diplome VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Intitulé du diplôme',
- Intitule_formation VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Intitulé de la formation',
- Descr_formation VARCHAR(60) collate utf8_general_ci NOT NULL COMMENT 'Description de la formation',
- tmp_1 VARCHAR(60) collate utf8_general_ci NOT NULL,
- tmp_2 VARCHAR(60) collate utf8_general_ci NOT NULL,
- tmp_3 VARCHAR(60) collate utf8_general_ci NOT NULL,
- tmp_4 VARCHAR(60) collate utf8_general_ci NOT NULL,
- PRIMARY KEY (id_ancien, Intitule_diplome, Intitule_formation)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
+ ax_id VARCHAR(8) NOT NULL COMMENT 'Id unique de l''ancien',
+ Intitule_formation VARCHAR(255) NOT NULL DEFAULT 0 COMMENT 'Intitulé de la formation',
+ Intitule_diplome VARCHAR(255) NOT NULL DEFAULT 0 COMMENT 'Intitulé du diplôme',
+ Descr_formation VARCHAR(255) NOT NULL COMMENT 'Description de la formation',
+ pid INT(11) UNSIGNED DEFAULT NULL,
+ eduid INT(4) DEFAULT NULL,
+ degreeid INT(4) DEFAULT NULL,
+ fieldid INT(2) DEFAULT NULL,
+ PRIMARY KEY (ax_id, Intitule_diplome, Intitule_formation, Descr_formation),
+ INDEX (Intitule_diplome(60)),
+ INDEX (Intitule_formation(60)),
+ INDEX (Descr_formation(60)),
+ INDEX (pid),
+ INDEX (eduid),
+ INDEX (degreeid),
+ INDEX (fieldid)
+) ENGINE=InnoDB, CHARSET=utf8;