Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 102 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

--
-- Structure de la table `coste_meta`
--
CREATE TABLE IF NOT EXISTS `coste_meta` (
  `guid` varchar(255) NOT NULL DEFAULT '',
  `langue_meta` varchar(2) NOT NULL DEFAULT '',
  `code` varchar(20) DEFAULT NULL,
  `version` varchar(20) DEFAULT NULL,
  `titre` varchar(255) DEFAULT NULL,
  `description` text,
  `mots_cles` varchar(510) DEFAULT NULL,
  `citation` varchar(255) DEFAULT NULL,
  `url_tech` varchar(510) DEFAULT NULL,
  `url_projet` varchar(510) DEFAULT NULL,
  `source` text,
  `createurs` text,
  `editeur` text,
  `contributeurs` text,
  `droits` text,
  `url_droits` varchar(510) DEFAULT NULL,
  `langue` varchar(255) DEFAULT NULL,
  `date_creation` varchar(30) DEFAULT NULL,
  `date_validite` varchar(255) DEFAULT NULL,
  `couverture_spatiale` varchar(510) DEFAULT NULL,
  `couverture_temporelle` varchar(510) DEFAULT NULL,
  `web_services` varchar(510) CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`guid`,`langue_meta`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
--Données de la table coste_meta
--
INSERT INTO `coste_meta` (`guid`, `langue_meta`, `code`, `version`, `titre`, `description`, `mots_cles`, `citation`, `url_tech`, `url_projet`, `source`, `createurs`, `editeur`, `contributeurs`, `droits`, `url_droits`, `langue`, `date_creation`, `date_validite`, `couverture_spatiale`, `couverture_temporelle`, `web_services`) VALUES
('urn:lsid:tela-botanica.org:coste:0.1', 'fr', 'coste', '0.1', 'Flore descriptive et illustrée de la France par L''abbé H. COSTE', 'Au 07 février 2011, les documents réunis dans le cadre de le projet de numérisation de la flore de Coste sont :\r\n - l''ensemble des images au format PNG et JPEG des 4354 taxons (Christophe BONNET, Frédéric LEGENS et Jean ZISSLER)\r\n - l''ensemble des descriptions au format HTML et RTF des 4354 taxons (Jean ZISSLER)\r\n - l''ensemble des clés (avec reprise des images et descriptions) du tome 01 au format DOC (Daniel LE QUÉRÉ).\r\n\r\nLe travail restant à réaliser est le suivant :\r\n - compléter la famille des Papilionacées du tome 01\r\n - numériser les descriptions et clés des familles et genres du tome 02\r\n - numériser les descriptions et clés des familles et genres du tome 03\r\n\r\nPour la numérisation des tome 2 et 3, l''idée est de compléter les documents manquant en utilisant ce wiki. Le tome 03 est disponible en PDF image avec OCR sur le site biodiversitylibrary.org.', 'index, flore, image, description, clé', NULL, 'http://www.tela-botanica.org/wikini/eflore/wakka.php?wiki=IntegrationCoste', 'http://www.tela-botanica.org/wikini/florecoste/', NULL, 'p.prenom=Jean-Pascal,p.nom=MILCENT,p.courriel=jpm@tela-botanica.org', 'nom=Tela Botanica,guid=urn:lsid:tela-botanica.or,courriel=accueil@tela-botanica.org,telephone=+334 67 52 41 22,url.info=http://www.tela-botanica.org/page:association_tela_botanica,url.logo=http://www.tela-botanica.org/sites/accueil/generique/images/graphisme/logo_tela_fond_blanc.png,type=organisation,acronyme=TB,adresse=Association Tela Botanica - Institut de Botanique - 167 rue Auguste Broussonnet 34090 MONTPELLIER FRANCE,latitude.wgs84=43.615892,longitude.wgs84=3.871736,contact.prenom=Jean-Pascal,contact.nom=MILCENT,contact.courriel=jpm@tela-botanica.org,contact.role=administrateur des données', NULL, NULL, NULL, 'fr', '2011-06-10', '', 'iso-3166-1.id=FX', NULL, 'metaDonnees:0.1;noms:0.1;taxons:0.1;Textes:0.1;Images:0.1');

--
-- Structure de la table `coste_acls`
--
CREATE TABLE IF NOT EXISTS `coste_acls` (
  `page_tag` varchar(50) NOT NULL DEFAULT '',
  `privilege` varchar(20) NOT NULL DEFAULT '',
  `list` text NOT NULL,
  PRIMARY KEY (`page_tag`,`privilege`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Structure de la table `coste_correspondance_bdnff`
--
CREATE TABLE IF NOT EXISTS `coste_correspondance_bdnff` (
  `id` varchar(10) NOT NULL,
  `num_nom` varchar(11) DEFAULT NULL,
  `num_tax` varchar(11) DEFAULT NULL,
  `famille` varchar(75) DEFAULT NULL,
  `nom_sci` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nom_sci` (`nom_sci`),
  KEY `num_nom` (`num_nom`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Structure de la table `coste_images_auteur_correspondance_bdnff`
--
CREATE TABLE IF NOT EXISTS `coste_images_auteur_correspondance_bdnff` (
  `id_image` varchar(8) DEFAULT NULL,
  `num_nom` int(5) DEFAULT NULL,
  `num_taxonomique` int(5) DEFAULT NULL,
  `nom_sci` varchar(73) DEFAULT NULL,
  `auteur` varchar(12) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Structure de la table `coste_index`
--
CREATE TABLE IF NOT EXISTS `coste_index` (
  `num_nom` int(11) NOT NULL,
  `nom_sci` varchar(100) NOT NULL,
  PRIMARY KEY (`num_nom`),
  KEY `nom_sci` (`nom_sci`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Structure de la table `coste_index_general`
--
CREATE TABLE IF NOT EXISTS `coste_index_general` (
  `nom_sci` varchar(16) DEFAULT NULL,
  `rang` int(3) DEFAULT NULL,
  `nom_coste` varchar(16) DEFAULT NULL,
  `num_nom_coste` varchar(4) DEFAULT NULL,
  `num_tax_sup_coste` varchar(4) DEFAULT NULL,
  `tome` int(1) DEFAULT NULL,
  `page` int(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Structure de la table `coste_links`
--
CREATE TABLE IF NOT EXISTS `coste_links` (
  `from_tag` char(50) NOT NULL DEFAULT '',
  `to_tag` char(50) NOT NULL DEFAULT '',
  UNIQUE KEY `from_tag` (`from_tag`,`to_tag`),
  KEY `idx_from` (`from_tag`),
  KEY `idx_to` (`to_tag`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Structure de la table `coste_pages`
--
CREATE TABLE IF NOT EXISTS `coste_pages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `tag` varchar(100) NOT NULL DEFAULT '',
  `time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `body` text NOT NULL,
  `body_r` text NOT NULL,
  `owner` varchar(50) NOT NULL DEFAULT '',
  `user` varchar(50) NOT NULL DEFAULT '',
  `latest` enum('Y','N') NOT NULL DEFAULT 'N',
  `handler` varchar(30) NOT NULL DEFAULT 'page',
  `comment_on` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `idx_tag` (`tag`),
  KEY `idx_time` (`time`),
  KEY `idx_latest` (`latest`),
  KEY `idx_comment_on` (`comment_on`),
  FULLTEXT KEY `tag` (`tag`,`body`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10000000 ;

--
-- Structure de la table `coste_referrers`
--
CREATE TABLE IF NOT EXISTS `coste_referrers` (
  `page_tag` char(50) NOT NULL DEFAULT '',
  `referrer` char(150) NOT NULL DEFAULT '',
  `time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  KEY `idx_page_tag` (`page_tag`),
  KEY `idx_time` (`time`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Structure de la table `coste_triples`
--
CREATE TABLE IF NOT EXISTS `coste_triples` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `resource` varchar(255) NOT NULL DEFAULT '',
  `property` varchar(255) NOT NULL DEFAULT '',
  `value` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `resource` (`resource`),
  KEY `property` (`property`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;

--
-- Structure de la table `coste_users`
--
CREATE TABLE IF NOT EXISTS `coste_users` (
  `name` varchar(80) NOT NULL DEFAULT '',
  `password` varchar(32) NOT NULL DEFAULT '',
  `email` varchar(50) NOT NULL DEFAULT '',
  `motto` text NOT NULL,
  `revisioncount` int(10) unsigned NOT NULL DEFAULT '20',
  `changescount` int(10) unsigned NOT NULL DEFAULT '50',
  `doubleclickedit` enum('Y','N') NOT NULL DEFAULT 'Y',
  `signuptime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `show_comments` enum('Y','N') NOT NULL DEFAULT 'N',
  PRIMARY KEY (`name`),
  KEY `idx_name` (`name`),
  KEY `idx_signuptime` (`signuptime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Structure de la table `coste_v0_1`
--
CREATE TABLE IF NOT EXISTS `coste_v0_1` (
  `num_nom` int(9) NOT NULL DEFAULT '0',
  `num_nom_retenu` varchar(9) DEFAULT NULL,
  `num_tax_sup` varchar(9) DEFAULT NULL,
  `rang` int(3) DEFAULT NULL,
  `nom_sci` varchar(500) DEFAULT '',
  `nom_supra_generique` varchar(500) DEFAULT '',
  `genre` varchar(500) DEFAULT '',
  `epithete_infra_generique` varchar(500) DEFAULT '',
  `epithete_sp` varchar(500) DEFAULT '',
  `type_epithete` varchar(500) DEFAULT '',
  `epithete_infra_sp` varchar(500) DEFAULT '',
  `cultivar_groupe` varchar(500) DEFAULT '',
  `cultivar` varchar(500) DEFAULT '',
  `nom_commercial` varchar(500) DEFAULT '',
  `auteur` varchar(100) DEFAULT '',
  `annee` int(4) DEFAULT NULL,
  `biblio_origine` varchar(500) NOT NULL DEFAULT '',
  `notes` varchar(500) NOT NULL DEFAULT '',
  `nom_addendum` varchar(500) NOT NULL DEFAULT '',
  `basionyme` varchar(9) NOT NULL DEFAULT '',
  `nom_francais` text,
  `nom_coste` varchar(500) DEFAULT '',
  `num_nom_coste` varchar(9) DEFAULT '',
  `tome` int(1) DEFAULT NULL,
  `page` int(4) DEFAULT NULL,
  `flore_bdnff_num` varchar(9) DEFAULT NULL,
  `flore_bdnff_nom_sci` varchar(500) DEFAULT NULL,
  `nom_sci_html` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`num_nom`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;