Rev 428 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# ================================================================================# mysql - Fichier de scirpt SQL# ================================================================================# ================================================================================## Généré par : dia2sql_fr -- v1.x# Copyright (c)2002 par Tim Ellis <ttiimmeelleessss[at]tigris[dot]org> et al. voir le fichier AUTEURS.txt## Base de données cible : mysql# Généré le : Vendredi 28 mai 2004 10:22 27# Fichier d'entrée : /home/jpm/Tela_Botanica/Cvs/tela/applications_web/php/eflore/version_1/modele/MPD_consultation_GENERAL.dia## ================================================================================# Rapports de génération SQL : Schema Drop# --------------------------------------------------------------------# Base de données cible : mysql# Générateur SQL : dia2sql_fr -- v1.x# Généré le: Vendredi 28 mai 2004 10:22 24# Fichier d'entrée: /home/jpm/Tela_Botanica/Cvs/tela/applications_web/php/eflore/version_1/modele/MPD_consultation_GENERAL.diadrop table if exists eflore_publication_media ;drop table if exists eflore_nom_citation_posseder ;drop table if exists eflore_nom_citation ;drop table if exists eflore_publication_collection ;drop table if exists eflore_publication_abreviation ;drop table if exists eflore_publication_identifiant ;drop table if exists eflore_botaniste ;drop table if exists eflore_botaniste_intitule_nom ;drop table if exists eflore_botaniste_nom_categorie_valeur ;drop table if exists eflore_botaniste_nom_posseder_valeur ;drop table if exists eflore_botaniste_nom_reference ;drop table if exists eflore_botaniste_composer_intitule_abreviation ;drop table if exists eflore_botaniste_intitule_abreviation ;drop table if exists eflore_botaniste_nom_categorie ;drop table if exists eflore_botaniste_nom ;drop table if exists eflore_taxon ;drop table if exists eflore_vernaculaire_conseil_emploi ;drop table if exists eflore_vernaculaire_attribution ;drop table if exists eflore_personne_composer_groupe ;drop table if exists eflore_personne_groupe ;drop table if exists annuaire_label_ass ;drop table if exists annuaire_label_act ;drop table if exists annuaire_label_niv ;drop table if exists annuaire_label_statut ;drop table if exists eflore_droit_travailler_projet ;drop table if exists eflore_zg_relation ;drop table if exists eflore_zg ;drop table if exists eflore_zg_format ;drop table if exists eflore_zg_intitule ;drop table if exists eflore_zg_info_pays ;drop table if exists eflore_zg_info_commune ;drop table if exists eflore_zg_info_departement ;drop table if exists eflore_zg_info_region ;drop table if exists eflore_nom_format ;drop table if exists eflore_nom_intitule ;drop table if exists eflore_chorologie_information ;drop table if exists eflore_chorologie_info_a_citation ;drop table if exists eflore_chorologie_info_a_observation ;drop table if exists eflore_chorologie_info_a_contributeur ;drop table if exists eflore_chorologie_donnee_a_contributeur ;drop table if exists eflore_chorologie_donnee_a_observation ;drop table if exists eflore_droit_creer_projet ;drop table if exists eflore_taxon_categorie_valeur ;drop table if exists eflore_taxon_posseder_valeur ;drop table if exists eflore_inventaire_systeme_maille ;drop table if exists eflore_nom_intitule_commentaire ;drop table if exists eflore_langue_format ;drop table if exists eflore_langue_intitule ;drop table if exists eflore_zg_posseder_valeur ;drop table if exists eflore_zg_categorie ;drop table if exists eflore_zg_categorie_valeur ;drop table if exists eflore_nom_posseder_valeur ;drop table if exists eflore_nom_categorie ;drop table if exists eflore_nom_categorie_valeur ;drop table if exists eflore_taxon_categorie ;drop table if exists eflore_botaniste_categorie_valeur ;drop table if exists eflore_botaniste_posseder_valeur ;drop table if exists eflore_botaniste_categorie ;drop table if exists eflore_botaniste_composer_intitule_nom ;drop table if exists eflore_botaniste_a_specialite_geo ;drop table if exists eflore_botaniste_abreviation_identifiant ;drop table if exists eflore_botaniste_abreviation ;drop table if exists annuaire_tela ;drop table if exists eflore_chorologie_donnee_a_citation ;drop table if exists eflore_chorologie_donnee ;drop table if exists eflore_chorologie_type_notion ;drop table if exists eflore_chorologie_notion ;drop table if exists eflore_chorologie_intitule_notion ;drop table if exists eflore_langue ;drop table if exists eflore_langue_situer ;drop table if exists eflore_droit_type ;drop table if exists eflore_langue_article ;drop table if exists eflore_langue_genre_nombre ;drop table if exists eflore_info_image_categorie ;drop table if exists eflore_info_txt_valeur ;drop table if exists eflore_info_txt_posseder_valeur ;drop table if exists eflore_info_txt_categorie ;drop table if exists eflore_info_txt ;drop table if exists eflore_inventaire_observation ;drop table if exists eflore_info_txt_a_taxon ;drop table if exists eflore_nom_rang ;drop table if exists eflore_nom_commentaire_type ;drop table if exists eflore_nom_composer_commentaire ;drop table if exists eflore_nom_relation ;drop table if exists eflore_info_image ;drop table if exists eflore_info_image_posseder_valeur ;drop table if exists eflore_info_image_valeur ;drop table if exists eflore_nom ;drop table if exists eflore_selection_nom ;drop table if exists eflore_selection_nom_statut ;drop table if exists eflore_protection_statut ;drop table if exists eflore_protection_attribution_statut ;drop table if exists eflore_projet_utiliser_module ;drop table if exists eflore_projet_module ;drop table if exists eflore_projet ;drop table if exists eflore_projet_type ;drop table if exists eflore_projet_version ;drop table if exists eflore_personne_contributeur ;drop table if exists eflore_langue_relation ;drop table if exists eflore_langue_categorie ;drop table if exists eflore_langue_categorie_valeur ;drop table if exists eflore_langue_posseder_valeur ;drop table if exists eflore_taxon_relation ;drop table if exists eflore_vernaculaire ;drop table if exists eflore_info_image_a_taxon ;drop table if exists eflore_inventaire_maille ;drop table if exists eflore_inventaire_station ;# Rapports de génération SQL : création des tables# --------------------------------------------------------------------# Base de données cible : mysql# Générateur SQL : dia2sql_fr -- v1.x# Généré le: Vendredi 28 mai 2004 10:22 24# Fichier d'entrée: /home/jpm/Tela_Botanica/Cvs/tela/applications_web/php/eflore/version_1/modele/MPD_consultation_GENERAL.dia# eflore_publication_mediacreate table eflore_publication_media (epm_id_media int not null,epm_ce_media_superieur int,epm_ce_intitule_auteur int not null,epm_ref_media_complete text not null,epm_annee_publi varchar(20),epm_titre_media varchar(255) not null,epm_numero_edition varchar(50),epm_collection varchar(255),epm_numero_collection varchar(255),epm_series varchar(50),epm_volume int,epm_url varchar(255),epm_ville_publication varchar(50),epm_nom_editeur varchar(50),epm_notes_media text,constraint pk_eflore_publication_media primary key (epm_id_media)) ;# eflore_nom_citation_possedercreate table eflore_nom_citation_posseder (encp_id_citation int not null,encp_id_nom int not null,encp_notes_biblio_nom text,constraint pk_eflore_nom_citation_posseder primary key (encp_id_citation,encp_id_nom)) ;# eflore_nom_citationcreate table eflore_nom_citation (enci_id_citation int not null,enci_ce_auteur_in int,enci_ce_abreviation_publi int,enci_intitule_citation_origine text not null,enci_intitule_complet_citation varchar(255),enci_annee_citation varchar(20) not null,enci_serie varchar(20),enci_edition varchar(20),enci_volume varchar(20),enci_pages varchar(20),enci_notes_citation text,constraint pk_eflore_nom_citation primary key (enci_id_citation)) ;# eflore_publication_collectioncreate table eflore_publication_collection (epc_id_collection int not null,epc_ce_collection_precedente int,epc_intitule_collection varchar(255) not null,epc_date_creation decimal(7,2),epc_date_fin decimal(7,2),epc_notes_collection text,constraint pk_eflore_publication_collection primary key (epc_id_collection)) ;# eflore_publication_abreviationcreate table eflore_publication_abreviation (epa_id_abreviation int not null,epa_abreviation_publication varchar(255) not null,epa_ce_media int,epa_ce_collection int,epa_notes_abreviation_publi text,constraint pk_eflore_publication_abreviation primary key (epa_id_abreviation)) ;# eflore_publication_identifiantcreate table eflore_publication_identifiant (epi_id_abreviation int not null,epi_id_version_projet_abreviation int not null,epi_code_numerique int,epi_code_alphanumerique varchar(20),epi_notes_code_publi text,constraint pk_eflore_publication_identifiant primary key (epi_id_abreviation,epi_id_version_projet_abreviation)) ;# eflore_botanistecreate table eflore_botaniste (eb_id_botaniste int not null,eb_lieu_naissance varchar(100),eb_date_naissance varchar(50),eb_lieu_deces varchar(100),eb_date_deces varchar(50),eb_date_publication varchar(100),eb_date_harvard varchar(100),eb_pays_origine_harvard varchar(255),eb_specialite_harvard varchar(255),eb_notes_botaniste text,constraint pk_eflore_botaniste primary key (eb_id_botaniste)) ;# eflore_botaniste_intitule_nomcreate table eflore_botaniste_intitule_nom (ebin_id_intitule_botaniste_nom int not null,ebin_intitule_principal_botaniste_nom text,ebin_notes_intitule_nom text,constraint pk_eflore_botaniste_intitule_nom primary key (ebin_id_intitule_botaniste_nom)) ;# eflore_botaniste_nom_categorie_valeurcreate table eflore_botaniste_nom_categorie_valeur (ebncv_id_valeur_categorie_nom int not null,ebncv_ce_categorie_nom int not null,ebncv_intitule_valeur_categorie_nom varchar(255) not null,ebncv_abreviation_valeur_categorie_nom varchar(10),ebncv_description_valeur_categorie_nom text not null,constraint pk_eflore_botaniste_nom_categorie_valeur primary key (ebncv_id_valeur_categorie_nom)) ;# eflore_botaniste_nom_posseder_valeurcreate table eflore_botaniste_nom_posseder_valeur (ebnpv_id_valeur_categorie_nom int not null,ebnpv_id_nom_botaniste int not null,constraint pk_eflore_botaniste_nom_posseder_valeur primary key (ebnpv_id_valeur_categorie_nom,ebnpv_id_nom_botaniste)) ;# eflore_botaniste_nom_referencecreate table eflore_botaniste_nom_reference (ebnr_id_nom_botaniste int not null,ebnr_id_citation int not null,ebnr_notes_reference_nom_botaniste text,constraint pk_eflore_botaniste_nom_reference primary key (ebnr_id_nom_botaniste,ebnr_id_citation)) ;# eflore_botaniste_composer_intitule_abreviationcreate table eflore_botaniste_composer_intitule_abreviation (ebcia_id_intitule_botaniste_abrege int not null,ebcia_id_abreviation_botaniste int not null,ebcia_numero_ordre_abreviation_botaniste int not null,constraint pk_eflore_botaniste_composer_intitule_abreviation primary key (ebcia_id_intitule_botaniste_abrege,ebcia_id_abreviation_botaniste)) ;# eflore_botaniste_intitule_abreviationcreate table eflore_botaniste_intitule_abreviation (ebia_id_intitule_botaniste_abrege int not null,ebia_intitule_botaniste_abrege varchar(50) not null,ebia_notes_intitule_abrege text,constraint pk_eflore_botaniste_intitule_abreviation primary key (ebia_id_intitule_botaniste_abrege)) ;# eflore_botaniste_nom_categoriecreate table eflore_botaniste_nom_categorie (ebnc_id_categorie_nom int not null,ebnc_intitule_categorie_nom varchar(150) not null,ebnc_abreviation_categorie_nom varchar(10),ebnc_description_categorie_nom text not null,constraint pk_eflore_botaniste_nom_categorie primary key (ebnc_id_categorie_nom)) ;# eflore_botaniste_nomcreate table eflore_botaniste_nom (ebn_id_nom_botaniste int not null,ebn_ce_botaniste int not null,ebn_prenom_principal varchar(255),ebn_prenom_deux varchar(255),ebn_prenom_trois varchar(255),ebn_nom varchar(255),ebn_nom_complet varchar(255),ebn_nom_harvard varchar(255),ebn_reference_harvard text,ebn_notes_nom text,constraint pk_eflore_botaniste_nom primary key (ebn_id_nom_botaniste)) ;# eflore_taxoncreate table eflore_taxon (et_id_taxon int not null,et_id_version_projet_taxon int not null,et_notes_taxon text,constraint pk_eflore_taxon primary key (et_id_taxon,et_id_version_projet_taxon)) ;# eflore_vernaculaire_conseil_emploicreate table eflore_vernaculaire_conseil_emploi (evce_id_emploi int not null,evce_intitule_conseil_emlploi varchar(50) not null,evce_description_conseil_emploi text not null,constraint pk_eflore_vernaculaire_conseil_emploi primary key (evce_id_emploi)) ;# eflore_vernaculaire_attributioncreate table eflore_vernaculaire_attribution (eva_id_nom_vernaculaire int not null,eva_id_version_projet_nom_verna int not null,eva_id_taxon_ref int not null,eva_id_version_projet_taxon_ref int not null,eva_ce_emploi int not null,eva_ce_contributeur int,eva_ce_zone_geo int,eva_ce_version_projet_zg int,eva_commentaires_geographique text,eva_ce_citation_biblio int,eva_mark_info_biblio tinyint(1) not null,eva_notes_emploi_nom_vernaculaire text,constraint pk_eflore_vernaculaire_attribution primary key (eva_id_nom_vernaculaire,eva_id_version_projet_nom_verna,eva_id_taxon_ref,eva_id_version_projet_taxon_ref)) ;# eflore_personne_composer_groupecreate table eflore_personne_composer_groupe (epcg_id_personne int not null,epcg_id_groupe int not null,epcg_numero_ordre_personne int,epcg_notes_sequence_personne text,constraint pk_eflore_personne_composer_groupe primary key (epcg_id_personne,epcg_id_groupe)) ;# eflore_personne_groupecreate table eflore_personne_groupe (epg_id_groupe int not null,epg_intitule_groupe varchar(255) not null,epg_notes_groupe text,constraint pk_eflore_personne_groupe primary key (epg_id_groupe)) ;# annuaire_label_asscreate table annuaire_label_ass (id_label_ass tinyint(3) not null,label_ass varchar(255) not null,constraint pk_annuaire_label_ass primary key (id_label_ass)) ;# annuaire_label_actcreate table annuaire_label_act (id_label_act tinyint(3) not null,label_act varchar(255) not null,constraint pk_annuaire_label_act primary key (id_label_act)) ;# annuaire_label_nivcreate table annuaire_label_niv (id_label_niv tinyint(3) not null,label_niv varchar(255) not null,constraint pk_annuaire_label_niv primary key (id_label_niv)) ;# annuaire_label_statutcreate table annuaire_label_statut (id_label_statut tinyint(3) not null,label_statut varchar(255) not null,constraint pk_annuaire_label_statut primary key (id_label_statut)) ;# eflore_droit_travailler_projetcreate table eflore_droit_travailler_projet (edrtp_id_utilisateur int not null,edrtp_id_projet int not null,constraint pk_eflore_droit_travailler_projet primary key (edrtp_id_utilisateur,edrtp_id_projet)) ;# eflore_zg_relationcreate table eflore_zg_relation (ezr_id_zone_geo_1 int not null,ezr_id_version_projet_zg_1 int not null,ezr_id_zone_geo_2 int not null,ezr_id_version_projet_zg_2 int not null,ezr_id_qualificatif_relation_zg int not null,ezr_information_relation text,ezr_notes_relation_zg text,constraint pk_eflore_zg_relation primary key (ezr_id_zone_geo_1,ezr_id_version_projet_zg_1,ezr_id_zone_geo_2,ezr_id_version_projet_zg_2,ezr_id_qualificatif_relation_zg)) ;# eflore_zgcreate table eflore_zg (ezg_id_zone_geo int not null,ezg_id_version_projet_zg int not null,ezg_intitule_principal_zg varchar(255) not null,ezg_code_zg varchar(50) not null,ezg_notes_zone_geo text,constraint pk_eflore_zg primary key (ezg_id_zone_geo,ezg_id_version_projet_zg)) ;# eflore_zg_formatcreate table eflore_zg_format (ezf_id_format_intit_zg int not null,ezf_intitule_format_intit_zg int not null,ezf_abreviation_format_intit_zg varchar(10) not null,ezf_description_format_intit_zg text not null,constraint pk_eflore_zg_format primary key (ezf_id_format_intit_zg)) ;# eflore_zg_intitulecreate table eflore_zg_intitule (ezi_id_intitule_zg int not null,ezi_id_zone_geo int not null,ezi_id_version_projet_zg int not null,ezi_ce_langue int not null,ezi_ce_version_projet_langue int not null,ezi_ce_format_intit_zg int not null,ezi_ce_type_article_intit_zg int,ezi_intitule_zg varchar(255) not null,ezi_soundex_intitule_zg varchar(20) not null,ezi_notes_intitule_zg text,constraint pk_eflore_zg_intitule primary key (ezi_id_intitule_zg,ezi_id_zone_geo,ezi_id_version_projet_zg)) ;# eflore_zg_info_payscreate table eflore_zg_info_pays (ezip_id_zone_geo int not null,ezip_id_version_projet_zg int not null,ezip_superficie int,ezip_capitale varchar(255),ezip_nbre_habitant int,ezi_notes_info text,constraint pk_eflore_zg_info_pays primary key (ezip_id_zone_geo,ezip_id_version_projet_zg)) ;# eflore_zg_info_communecreate table eflore_zg_info_commune (ezic_id_zone_geo int not null,ezic_id_version_projet_zg int not null,ezic_superficie int,ezic_nbre_habitant int,ezic_notes_info text,constraint pk_eflore_zg_info_commune primary key (ezic_id_zone_geo,ezic_id_version_projet_zg)) ;# eflore_zg_info_departementcreate table eflore_zg_info_departement (ezid_id_zone_geo int not null,ezid_id_version_projet_zg int not null,ezid_superficie int,ezid_nbre_habitant int,ezid_notes_info text,constraint pk_eflore_zg_info_departement primary key (ezid_id_zone_geo,ezid_id_version_projet_zg)) ;# eflore_zg_info_regioncreate table eflore_zg_info_region (ezir_id_zone_geo int not null,ezir_id_version_projet_zg int not null,ezir_superficie int,ezir_nbre_habitant int,ezir_notes_info text,constraint pk_eflore_zg_info_region primary key (ezir_id_zone_geo,ezir_id_version_projet_zg)) ;# eflore_nom_formatcreate table eflore_nom_format (enf_id_format_intit_nom int not null,enf_intitule_format_intit_nom int not null,enf_abreviation_format_intit_nom varchar(10) not null,enf_description_format_intit_nom text not null,constraint pk_eflore_nom_format primary key (enf_id_format_intit_nom)) ;# eflore_nom_intitulecreate table eflore_nom_intitule (eni_id_intitule_nom int not null,eni_id_nom int not null,eni_ce_format_intit_nom int not null,eni_intitule_nom varchar(255) not null,eni_soundex_intitule_nom varchar(20) not null,eni_notes_intitule_nom text,constraint pk_eflore_nom_intitule primary key (eni_id_intitule_nom,eni_id_nom)) ;# eflore_chorologie_informationcreate table eflore_chorologie_information (eci_id_info_choro int not null,eci_ce_version_projet_info_choro int,eci_ce_donnee_choro int not null,eci_ce_notion_choro int not null,eci_ordre_notion int not null,eci_notes_info_choro text,constraint pk_eflore_chorologie_information primary key (eci_id_info_choro)) ;# eflore_chorologie_info_a_citationcreate table eflore_chorologie_info_a_citation (eciaci_id_info_choro int not null,eciaci_id_citation_biblio int not null,eciaci_notes_info_citation text,constraint pk_eflore_chorologie_info_a_citation primary key (eciaci_id_info_choro,eciaci_id_citation_biblio)) ;# eflore_chorologie_info_a_observationcreate table eflore_chorologie_info_a_observation (eciao_id_info_choro int not null,eciao_id_observation int not null,eciao_id_version_projet_inventaire int not null,eciao_notes_info_obs_choro text,constraint pk_eflore_chorologie_info_a_observation primary key (eciao_id_info_choro,eciao_id_observation,eciao_id_version_projet_inventaire)) ;# eflore_chorologie_info_a_contributeurcreate table eflore_chorologie_info_a_contributeur (eciac_id_info_choro int not null,eciac_id_contributeur int not null,eciac_notes_info_contributeur text,constraint pk_eflore_chorologie_info_a_contributeur primary key (eciac_id_info_choro,eciac_id_contributeur)) ;# eflore_chorologie_donnee_a_contributeurcreate table eflore_chorologie_donnee_a_contributeur (ecdac_id_donne_choro int not null,ecdac_id_contributeur int not null,ecdac_notes_donnee_contributeur text,constraint pk_eflore_chorologie_donnee_a_contributeur primary key (ecdac_id_donne_choro,ecdac_id_contributeur)) ;# eflore_chorologie_donnee_a_observationcreate table eflore_chorologie_donnee_a_observation (ecdao_id_donne_choro int not null,ecdao_id_observation int not null,ecdao_id_version_projet_inventaire int not null,ecdao_notes_donnee_observation text,constraint pk_eflore_chorologie_donnee_a_observation primary key (ecdao_id_donne_choro,ecdao_id_observation,ecdao_id_version_projet_inventaire)) ;# eflore_droit_creer_projetcreate table eflore_droit_creer_projet (edrcp_id_utilisateur int not null,edrcp_id_type_projet int not null,constraint pk_eflore_droit_creer_projet primary key (edrcp_id_utilisateur,edrcp_id_type_projet)) ;# eflore_taxon_categorie_valeurcreate table eflore_taxon_categorie_valeur (etcv_id_valeur_categorie_taxon int not null,etcv_ce_categorie_taxon int not null,etcv_intitule_valeur_categorie_taxon varchar(255) not null,etcv_abreviation_valeur_categorie_taxon varchar(10),etcv_description_valeur_categorie_taxon text not null,constraint pk_eflore_taxon_categorie_valeur primary key (etcv_id_valeur_categorie_taxon)) ;# eflore_taxon_posseder_valeurcreate table eflore_taxon_posseder_valeur (etpv_id_taxon int not null,etpv_id_version_projet_taxon int not null,etpv_id_valeur_categorie_taxon int not null,etpv_notes_attribution_categorie text,constraint pk_eflore_taxon_posseder_valeur primary key (etpv_id_taxon,etpv_id_version_projet_taxon,etpv_id_valeur_categorie_taxon)) ;# eflore_inventaire_systeme_maillecreate table eflore_inventaire_systeme_maille (eism_id_systeme int not null,eism_intitule_systeme varchar(255) not null,eism_abreviation_systeme varchar(50) not null,eism_description_systeme text not null,constraint pk_eflore_inventaire_systeme_maille primary key (eism_id_systeme)) ;# eflore_nom_intitule_commentairecreate table eflore_nom_intitule_commentaire (enic_id_intitule_cn int not null,enic_intitule_cn_origine varchar(255),enic_intitule_cn_complet varchar(255),enic_intitule_cn_mauvais varchar(255),ecic_notes_intitule_cn text,constraint pk_eflore_nom_intitule_commentaire primary key (enic_id_intitule_cn)) ;# eflore_langue_formatcreate table eflore_langue_format (elf_id_format_intit_lg int not null,elf_intitule_format_intit_lg int not null,elf_abreviation_format_intit_lg varchar(10) not null,elf_description_format_intit_lg text not null,constraint pk_eflore_langue_format primary key (elf_id_format_intit_lg)) ;# eflore_langue_intitulecreate table eflore_langue_intitule (eli_id_intitule_lg int not null,eli_id_langue int not null,eli_id_version_projet_langue int not null,eli_ce_langue_intitule int not null,eli_ce_version_projet_langue_intitule int not null,eli_ce_format_intit_lg int not null,eli_ce_type_article_intit_lg int,eli_intitule_lg varchar(255) not null,eli_notes_intitule_lg text,constraint pk_eflore_langue_intitule primary key (eli_id_intitule_lg,eli_id_langue,eli_id_version_projet_langue)) ;# eflore_zg_posseder_valeurcreate table eflore_zg_posseder_valeur (ezpv_id_zone_geo int not null,ezpv_id_version_projet_zg int not null,ezpv_id_valeur_categorie_zg int not null,constraint pk_eflore_zg_posseder_valeur primary key (ezpv_id_zone_geo,ezpv_id_version_projet_zg,ezpv_id_valeur_categorie_zg)) ;# eflore_zg_categoriecreate table eflore_zg_categorie (ezc_id_categorie_zg int not null,ezc_intitule_categorie_zg varchar(150) not null,ezc_abreviation_categorie_zg varchar(10),ezc_description_categorie_zg text not null,constraint pk_eflore_zg_categorie primary key (ezc_id_categorie_zg)) ;# eflore_zg_categorie_valeurcreate table eflore_zg_categorie_valeur (ezcv_id_valeur_categorie_zg int not null,ezcv_ce_categorie_zg int not null,ezcv_intitule_valeur_categorie_zg varchar(255) not null,ezcv_abreviation_valeur_categorie_zg varchar(10),ezcv_description_valeur_categorie_zg text not null,constraint pk_eflore_zg_categorie_valeur primary key (ezcv_id_valeur_categorie_zg)) ;# eflore_nom_posseder_valeurcreate table eflore_nom_posseder_valeur (enpv_id_nom int not null,enpv_id_valeur_categorie_nom int not null,constraint pk_eflore_nom_posseder_valeur primary key (enpv_id_nom,enpv_id_valeur_categorie_nom)) ;# eflore_nom_categoriecreate table eflore_nom_categorie (enc_id_categorie_nom int not null,enc_intitule_categorie_nom varchar(150) not null,enc_abreviation_categorie_nom varchar(10),enc_description_categorie_nom text not null,constraint pk_eflore_nom_categorie primary key (enc_id_categorie_nom)) ;# eflore_nom_categorie_valeurcreate table eflore_nom_categorie_valeur (encv_id_valeur_categorie_nom int not null,encv_ce_categorie_nom int not null,encv_intitule_valeur_categorie_nom varchar(255) not null,encv_abreviation_valeur_categorie_nom varchar(10) not null,encv_description_valeur_categorie_nom text not null,constraint pk_eflore_nom_categorie_valeur primary key (encv_id_valeur_categorie_nom)) ;# eflore_taxon_categoriecreate table eflore_taxon_categorie (etc_id_categorie_taxon int not null,etc_intitule_categorie_taxon varchar(255) not null,etc_abreviation_categorie_taxon varchar(10),etc_description_categorie_taxon text not null,constraint pk_eflore_taxon_categorie primary key (etc_id_categorie_taxon)) ;# eflore_botaniste_categorie_valeurcreate table eflore_botaniste_categorie_valeur (ebcv_id_valeur_categorie_botaniste int not null,ebcv_ce_categorie_botaniste int not null,ebcv_intitule_valeur_categorie_botaniste varchar(255) not null,ebcv_abreviation_valeur_categorie_botaniste varchar(10),ebcv_description_valeur_categorie_botaniste text not null,constraint pk_eflore_botaniste_categorie_valeur primary key (ebcv_id_valeur_categorie_botaniste)) ;# eflore_botaniste_posseder_valeurcreate table eflore_botaniste_posseder_valeur (ebpv_id_valeur_categorie_botaniste int not null,ebpv_id_botaniste int not null,constraint pk_eflore_botaniste_posseder_valeur primary key (ebpv_id_valeur_categorie_botaniste,ebpv_id_botaniste)) ;# eflore_botaniste_categoriecreate table eflore_botaniste_categorie (ebc_id_categorie_botaniste int not null,ebc_intitule_categorie_botaniste varchar(150) not null,ebc_abreviation_categorie_botaniste varchar(10),ebc_description_categorie_botaniste text not null,constraint pk_eflore_botaniste_categorie primary key (ebc_id_categorie_botaniste)) ;# eflore_botaniste_composer_intitule_nomcreate table eflore_botaniste_composer_intitule_nom (ebcin_id_nom_botaniste int not null,ebcin_id_intitule_nom_botaniste int not null,ebcin_numero_ordre_nom_botaniste int not null,constraint pk_eflore_botaniste_composer_intitule_nom primary key (ebcin_id_nom_botaniste,ebcin_id_intitule_nom_botaniste)) ;# eflore_botaniste_a_specialite_geocreate table eflore_botaniste_a_specialite_geo (ebasg_id_botaniste int not null,ebasg_id_zone_geo int not null,ebasg_id_version_projet_zg int not null,constraint pk_eflore_botaniste_a_specialite_geo primary key (ebasg_id_botaniste,ebasg_id_zone_geo,ebasg_id_version_projet_zg)) ;# eflore_botaniste_abreviation_identifiantcreate table eflore_botaniste_abreviation_identifiant (ebai_id_abreviation_botaniste int not null,ebai_id_projet_version_identifiant int not null,ebai_identifiant_abreviation_projet varchar(50) not null,ebai_notes_abreviations_projet text,constraint pk_eflore_botaniste_abreviation_identifiant primary key (ebai_id_abreviation_botaniste,ebai_id_projet_version_identifiant)) ;# eflore_botaniste_abreviationcreate table eflore_botaniste_abreviation (eba_id_abreviation_botaniste int not null,eba_ce_nom_botaniste int not null,eba_abeviation varchar(20) not null,eba_abreviation_recommandee tinyint,eba_notes_abreviation text,constraint pk_eflore_botaniste_abreviation primary key (eba_id_abreviation_botaniste)) ;# annuaire_telacreate table annuaire_tela (u_id int not null,u_annu_name varchar(32) not null,u_name varchar(32) not null,u_surname varchar(32) not null,u_fonction varchar(255),u_title_ varchar(128),u_passwd varchar(32) not null,u_mail varchar(128) not null,u_phone varchar(32),u_gsm varchar(32),u_fax varchar(16),u_web varchar(128),u_show int not null,u_addr1 varchar(128),u_addr2 varchar(128),u_zip_code varchar(32) not null,u_city varchar(32),u_state varchar(32),u_country varchar(5) not null,u_french_dpt int(3),u_abo varchar(255),u_niv tinyint(3),u_spe text,u_geo text,u_act tinyint(3),u_date datetime,u_ass tinyint(3),u_cot tinyint(3),at_ce_type_utilisateur_eflore int not null,constraint pk_annuaire_tela primary key (u_id)) ;# eflore_chorologie_donnee_a_citationcreate table eflore_chorologie_donnee_a_citation (ecdaci_id_donne_choro int not null,ecdaci_id_citation_biblio int not null,ecdaci_notes_donnee_citation text,constraint pk_eflore_chorologie_donnee_a_citation primary key (ecdaci_id_donne_choro,ecdaci_id_citation_biblio)) ;# eflore_chorologie_donneecreate table eflore_chorologie_donnee (ecd_id_donnee_choro int not null,ecd_ce_version_projet_donnee_choro int not null,ecd_ce_taxon_ref int not null,ecd_ce_version_projet_taxon_ref int not null,ecd_ce_zone_geo int not null,ecd_ce_version_projet_zg int not null,ecd_notes_donnee_choro text,constraint pk_eflore_chorologie_donnee primary key (ecd_id_donnee_choro)) ;# eflore_chorologie_type_notioncreate table eflore_chorologie_type_notion (ectn_id_type_notion_choro int not null,ectn_intitule_type_notion_choro varchar(100) not null,ectn_abrevation_type_notion_choro varchar(10) not null,ectn_description_type_notion_choro text not null,constraint pk_eflore_chorologie_type_notion primary key (ectn_id_type_notion_choro)) ;# eflore_chorologie_notioncreate table eflore_chorologie_notion (ecn_id_notion_choro int not null,ecn_id_version_projet_notion_choro int not null,ecn_ce_type_notion_choro int not null,constraint pk_eflore_chorologie_notion primary key (ecn_id_notion_choro,ecn_id_version_projet_notion_choro)) ;# eflore_chorologie_intitule_notioncreate table eflore_chorologie_intitule_notion (ecin_id_intitule_notion_choro int not null,ecin_ce_langue int not null,ecin_ce_version_projet_langue int not null,ecin_intitule_notion_choro varchar(100) not null,ecin_abreviation_notion_choro varchar(10) not null,ecin_description_notion_choro text not null,ecin_mark_intitule_notion_choro_origine tinyint(1) not null,constraint pk_eflore_chorologie_intitule_notion primary key (ecin_id_intitule_notion_choro)) ;# eflore_languecreate table eflore_langue (el_id_langue int not null,el_id_version_projet_langue int not null,el_nom_langue_principal varchar(100) not null,el_code_langue varchar(50) not null,el_note_langue text,constraint pk_eflore_langue primary key (el_id_langue,el_id_version_projet_langue)) ;# eflore_langue_situercreate table eflore_langue_situer (els_id_langue int not null,els_id_version_projet_langue int not null,els_id_zone_geo int not null,els_id_version_projet_zg int not null,constraint pk_eflore_langue_situer primary key (els_id_langue,els_id_version_projet_langue,els_id_zone_geo,els_id_version_projet_zg)) ;# eflore_droit_typecreate table eflore_droit_type (edrt_id_type_utilisateur int not null,edrt_intitule_type_utilisateur varchar(255) not null,edrt_description_type_utilisateur text not null,constraint pk_eflore_droit_type primary key (edrt_id_type_utilisateur)) ;# eflore_langue_articlecreate table eflore_langue_article (ela_id_article int not null,ela_intitule_article varchar(20) not null,ela_intitule_charniere varchar(20),ela_ce_langue int not null,ela_ce_version_projet_langue int not null,ela_ce_genre_nombre_article int not null,ela_notes_article text,constraint pk_eflore_langue_article primary key (ela_id_article)) ;# eflore_langue_genre_nombrecreate table eflore_langue_genre_nombre (elgn_id_genre_nombre int not null,elgn_intitule_genre_nombre varchar(100) not null,elgn_description_genre_nombre text not null,constraint pk_eflore_langue_genre_nombre primary key (elgn_id_genre_nombre)) ;# eflore_info_image_categoriecreate table eflore_info_image_categorie (eiic_id_categorie_img int not null,eiic_intitule_categorie_img varchar(150) not null,eiic_abreviation_categorie_img varchar(10),eiic_description_categorie_img text not null,constraint pk_eflore_info_image_categorie primary key (eiic_id_categorie_img)) ;# eflore_info_txt_valeurcreate table eflore_info_txt_valeur (eitv_id_valeur_categorie_txt int not null,eitv_ce_categorie_txt int not null,eitv_intitule_valeur_categorie_txt varchar(255) not null,eitv_abreviation_valeur_categorie_txt varchar(10),eitv_description_valeur_categorie_txt text not null,constraint pk_eflore_info_txt_valeur primary key (eitv_id_valeur_categorie_txt)) ;# eflore_info_txt_posseder_valeurcreate table eflore_info_txt_posseder_valeur (eitpv_id_valeur_categorie_txt int not null,eitpv_id_texte int not null,eitpv_id_version_projet_txt int not null,constraint pk_eflore_info_txt_posseder_valeur primary key (eitpv_id_valeur_categorie_txt,eitpv_id_texte,eitpv_id_version_projet_txt)) ;# eflore_info_txt_categoriecreate table eflore_info_txt_categorie (eitc_id_categorie_txt int not null,eitc_intitule_categorie_txt varchar(150) not null,eitc_abreviation_categorie_txt varchar(10),eitc_description_categorie_txt text not null,constraint pk_eflore_info_txt_categorie primary key (eitc_id_categorie_txt)) ;# eflore_info_txtcreate table eflore_info_txt (eit_id_texte int not null,eit_id_version_projet_txt int not null,eit_ce_contributeur_txt int,eit_ce_citation_biblio int,eit_lien_vers_txt varchar(50),eit_texte text,eit_notes_info_txt text,constraint pk_eflore_info_txt primary key (eit_id_texte,eit_id_version_projet_txt)) ;# eflore_inventaire_observationcreate table eflore_inventaire_observation (eio_id_observation int not null,eio_id_version_projet_inventaire int not null,eio_ce_taxon_ref int not null,eio_ce_version_projet_taxon_ref int not null,eio_ce_contributeur int not null,eio_ce_station int not null,eio_date_observation date not null,eio_notes_observation text,constraint pk_eflore_inventaire_observation primary key (eio_id_observation,eio_id_version_projet_inventaire)) ;# eflore_info_txt_a_taxoncreate table eflore_info_txt_a_taxon (eitat_id_texte int not null,eitat_id_version_projet_txt int not null,eitat_id_taxon_ref int not null,eitat_id_version_projet_taxon_ref int not null,eitat_notes_img_correspondre_taxon text,constraint pk_eflore_info_txt_a_taxon primary key (eitat_id_texte,eitat_id_version_projet_txt,eitat_id_taxon_ref,eitat_id_version_projet_taxon_ref)) ;# eflore_nom_rangcreate table eflore_nom_rang (enrg_id_rang int not null,enrg_ce_rang_superieur int,enrg_abreviation_rang varchar(10) not null,enrg_intituel_rang varchar(25) not null,enrg_description_rang text,constraint pk_eflore_nom_rang primary key (enrg_id_rang)) ;# eflore_nom_commentaire_typecreate table eflore_nom_commentaire_type (enct_id_type_cn int not null,enct_intitule_type_cn varchar(50) not null,enct_abreviation_type_cn varchar(20),enct_description_type_cn text,constraint pk_eflore_nom_commentaire_type primary key (enct_id_type_cn)) ;# eflore_nom_composer_commentairecreate table eflore_nom_composer_commentaire (encc_id_type_cn int not null,encc_id_intitule_cn int not null,encc_id_numero_ordre_cn int not null,encc_ce_auteur_cn int,encc_ce_citation_biblio_cn int,encc_mark_in_auteur_citation_cn tinyint(1),encc_date_homonyme varchar(20),encc_notes_cn text,constraint pk_eflore_nom_composer_commentaire primary key (encc_id_type_cn,encc_id_intitule_cn,encc_id_numero_ordre_cn)) ;# eflore_nom_relationcreate table eflore_nom_relation (enr_id_nom_1 int not null,enr_id_nom_2 int not null,enr_id_qualificatif_relation_nom int not null,enr_notes_relation_nom text,constraint pk_eflore_nom_relation primary key (enr_id_nom_1,enr_id_nom_2,enr_id_qualificatif_relation_nom)) ;# eflore_info_imagecreate table eflore_info_image (eii_id_image int not null,eii_id_version_projet_img int not null,eii_ce_contributeur_image int,eii_ce_citation_biblio int,eii_intitule_img varchar(75) not null,eii_description_courte_img varchar(255),eii_description_longue_img text,eii_lien_vers_img varchar(255) not null,eii_nom_fichier_img varchar(50) not null,eii_largeur_img bigint,eii_hauteur_img bigint,eii_poids_fichier_octet bigint,eii_notes_img text,constraint pk_eflore_info_image primary key (eii_id_image,eii_id_version_projet_img)) ;# eflore_info_image_posseder_valeurcreate table eflore_info_image_posseder_valeur (eiipv_id_valeur_categorie_img int not null,eiipv_id_image int not null,eiipv_id_version_projet_img int not null,constraint pk_eflore_info_image_posseder_valeur primary key (eiipv_id_valeur_categorie_img,eiipv_id_image,eiipv_id_version_projet_img)) ;# eflore_info_image_valeurcreate table eflore_info_image_valeur (eiiv_id_valeur_categorie_img int not null,eiiv_ce_categorie_img int not null,eiiv_intitule_valeur_categorie_img varchar(255) not null,eiiv_abreviation_valeur_categorie_img varchar(10),eiiv_description_valeur_categorie_img text not null,constraint pk_eflore_info_image_valeur primary key (eiiv_id_valeur_categorie_img)) ;# eflore_nomcreate table eflore_nom (en_id_nom int not null,en_ce_auteur_basio_ex int,en_ce_auteur_basio int,en_ce_auteur_modif_ex int,en_ce_auteur_modif int,en_ce_citation_initiale int not null,en_ce_intitule_cn int,en_ce_rang int not null,en_nom_supra_generique varchar(50),en_nom_genre varchar(50),en_epithete_infra_generique varchar(50),en_epithete_espece varchar(50),en_epithete_infra_specifique varchar(50),en_epithete_cultivar varchar(50),en_intitule_groupe_cultivar varchar(50),en_formule_hybridite varchar(255),en_phrase_nom_non_nomme varchar(255),en_notes_nom text,constraint pk_eflore_nom primary key (en_id_nom)) ;# eflore_selection_nomcreate table eflore_selection_nom (esn_id_nom int not null,esn_id_taxon int not null,esn_id_version_projet_taxon int not null,esn_ce_statut int not null,esn_code_numerique_1 int,esn_code_numerique_2 bigint,esn_code_alphanumerique_1 varchar(10),esn_code_alphanumerique_2 varchar(50),esn_commentaire_nomenclatural varchar(255),esn_notes_nom_selection text,constraint pk_eflore_selection_nom primary key (esn_id_nom,esn_id_taxon,esn_id_version_projet_taxon)) ;# eflore_selection_nom_statutcreate table eflore_selection_nom_statut (esns_id_statut int not null,esns_intitule_statut varchar(80) not null,esns_abreviation_intitule_statut varchar(20) not null,esns_description_statut text not null,constraint pk_eflore_selection_nom_statut primary key (esns_id_statut)) ;# eflore_protection_statutcreate table eflore_protection_statut (epts_id_statut_protection int not null,epts_ce_version_projet_protection int not null,epts_intitule_statut_protection varchar(50) not null,epts_abreviation_statut varchar(5),epts_description_statut text,epts_notes_statut text,constraint pk_eflore_protection_statut primary key (epts_id_statut_protection)) ;# eflore_protection_attribution_statutcreate table eflore_protection_attribution_statut (eptas_id_statut_protection int not null,eptas_id_version_projet_attrib_protect int not null,eptas_id_taxon_ref int not null,eptas_id_version_projet_taxon_ref int not null,eptas_id_zone_geo int not null,eptas_id_version_projet_zg int not null,eptas_ce_nom_texte_loi int,eptas_notes_attribution_sp text,constraint pk_eflore_protection_attribution_statut primary key (eptas_id_statut_protection,eptas_id_version_projet_attrib_protect,eptas_id_taxon_ref,eptas_id_version_projet_taxon_ref,eptas_id_zone_geo,eptas_id_version_projet_zg)) ;# eflore_projet_utiliser_modulecreate table eflore_projet_utiliser_module (eprc_id_module int not null,eprc_id_version int not null,constraint pk_eflore_projet_utiliser_module primary key (eprc_id_module,eprc_id_version)) ;# eflore_projet_modulecreate table eflore_projet_module (eprm_id_module int not null,eprm_intitule_module varchar(50) not null,eprm_abreviation_module varchar(10),eprm_tables_module text,eprm_description_type_donnee text not null,constraint pk_eflore_projet_module primary key (eprm_id_module)) ;# eflore_projetcreate table eflore_projet (epr_id_projet int not null,epr_ce_type_projet int not null,epr_ce_intitule_auteur int not null,epr_ce_contributeur_projet int not null,epr_intitule_projet varchar(255),epr_abreviation_projet varchar(40),epr_description_projet text,epr_lien_web varchar(255),epr_mark_projet_consultable tinyint(1) not null,epr_notes_projet text,constraint pk_eflore_projet primary key (epr_id_projet)) ;# eflore_projet_typecreate table eflore_projet_type (eprt_id_type_projet int not null,eprt_intitule_type_projet varchar(50) not null,eprt_abreviation_type_projet varchar(10) not null,eprt_description_type_projet text not null,constraint pk_eflore_projet_type primary key (eprt_id_type_projet)) ;# eflore_projet_versioncreate table eflore_projet_version (eprv_id_version int not null,eprv_ce_projet int not null,eprv_ce_ouvrage_source_version int,eprv_ce_contributeur_version int,eprv_numero_version varchar(25) not null,eprv_date_debut_version date not null,eprv_date_fin_version date,eprv_notes_version text,constraint pk_eflore_projet_version primary key (eprv_id_version)) ;# eflore_personne_contributeurcreate table eflore_personne_contributeur (epc_id_contributeur int not null,epc_ce_personne int,epc_ce_groupe int,epc_nom_principal varchar(255) not null,epc_notes_contributeur text,constraint pk_eflore_personne_contributeur primary key (epc_id_contributeur)) ;# eflore_langue_relationcreate table eflore_langue_relation (elr_id_langue_1 int not null,elr_id_version_projet_langue_1 int not null,elr_id_langue_2 int not null,elr_id_version_projet_langue_2 int not null,elr_id_qualificatif_relation_lg int not null,elr_information_relation_lg text,elr_notes_relation_lg text,constraint pk_eflore_langue_relation primary key (elr_id_langue_1,elr_id_version_projet_langue_1,elr_id_langue_2,elr_id_version_projet_langue_2,elr_id_qualificatif_relation_lg)) ;# eflore_langue_categoriecreate table eflore_langue_categorie (elc_id_categorie_lg int not null,elc_intitule_categorie_lg varchar(150) not null,elc_abreviation_categorie_lg varchar(10),elc_description_categorie_lg text not null,constraint pk_eflore_langue_categorie primary key (elc_id_categorie_lg)) ;# eflore_langue_categorie_valeurcreate table eflore_langue_categorie_valeur (elcv_id_valeur_categorie_lg int not null,elcv_ce_categorie_lg int not null,elcv_intitule_valeur_categorie_lg varchar(255) not null,elcv_abreviation_valeur_categorie_lg varchar(10),elcv_description_valeur_categorie_lg text not null,constraint pk_eflore_langue_categorie_valeur primary key (elcv_id_valeur_categorie_lg)) ;# eflore_langue_posseder_valeurcreate table eflore_langue_posseder_valeur (elpv_id_langue int not null,elpv_id_version_projet_langue int not null,elpv_id_valeur_categorie_lg int not null,constraint pk_eflore_langue_posseder_valeur primary key (elpv_id_langue,elpv_id_version_projet_langue,elpv_id_valeur_categorie_lg)) ;# eflore_taxon_relationcreate table eflore_taxon_relation (etr_id_taxon_1 int not null,etr_id_version_projet_taxon_1 int not null,etr_id_taxon_2 int not null,etr_id_version_projet_taxon_2 int not null,etr_id_qualificatif_relation_taxon int not null,etr_notes_relation_taxon text,constraint pk_eflore_taxon_relation primary key (etr_id_taxon_1,etr_id_version_projet_taxon_1,etr_id_taxon_2,etr_id_version_projet_taxon_2,etr_id_qualificatif_relation_taxon)) ;# eflore_vernaculairecreate table eflore_vernaculaire (ev_id_nom_vernaculaire int not null,ev_ce_langue int not null,ev_ce_version_projet_langue int not null,ev_ce_genre_nombre int not null,ev_intitule_nom_vernaculaire varchar(255) not null,ev_soundex_nom_vernaculaire varchar(20) not null,ev_notes_nom_vernaculaire text,constraint pk_eflore_vernaculaire primary key (ev_id_nom_vernaculaire)) ;# eflore_info_image_a_taxoncreate table eflore_info_image_a_taxon (eiiat_id_image int not null,eiiat_id_version_projet_img int not null,eiiat_id_taxon_ref int not null,eiiat_id_version_projet_taxon_ref int not null,eiiat_notes_img_correspondre_taxon text,constraint pk_eflore_info_image_a_taxon primary key (eiiat_id_image,eiiat_id_version_projet_img,eiiat_id_taxon_ref,eiiat_id_version_projet_taxon_ref)) ;# eflore_inventaire_maillecreate table eflore_inventaire_maille (eim_id_maille int not null,eim_ce_systeme int not null,eim_reference_maille varchar(50) not null,eim_fuseau varchar(25) not null,constraint pk_eflore_inventaire_maille primary key (eim_id_maille)) ;# eflore_inventaire_stationcreate table eflore_inventaire_station (eis_id_station int not null,eis_ce_maille int not null,eis_ce_zone_geo_commune int not null,eis_ce_version_projet_zg_commune int not null,eis_ce_contributeur int not null,eis_lieudit text,eis_altitude int,eis_latitude float not null,eis_longitude float not null,eis_type_coordonnee varchar(100),eis_coordonnee_x varchar(25),eis_coordonne_y varchar(25),eis_notes_station text,constraint pk_eflore_inventaire_station primary key (eis_id_station)) ;