Commit fd208302 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the script cold_start_096x.sql.

parent e1ba0e65
-- MySQL dump 10.14 Distrib 5.5.43-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: test_publications
-- ------------------------------------------------------
-- Server version 5.5.43-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `affiliation_keys`
--
DROP TABLE IF EXISTS `affiliation_keys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `affiliation_keys` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`key_u` varchar(255) NOT NULL,
`key_v` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `auth_cas`
--
DROP TABLE IF EXISTS `auth_cas`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_cas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`service` varchar(255) DEFAULT NULL,
`ticket` varchar(255) DEFAULT NULL,
`renew` char(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id__idx` (`user_id`),
CONSTRAINT `auth_cas_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `auth_event`
--
DROP TABLE IF EXISTS `auth_event`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time_stamp` datetime DEFAULT NULL,
`client_ip` varchar(255) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`origin` varchar(255) DEFAULT NULL,
`description` longtext,
PRIMARY KEY (`id`),
KEY `user_id__idx` (`user_id`),
CONSTRAINT `auth_event_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2603 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `auth_group`
--
DROP TABLE IF EXISTS `auth_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`role` varchar(255) DEFAULT NULL,
`description` longtext,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_group`
--
LOCK TABLES `auth_group` WRITE;
/*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
INSERT INTO `auth_group` VALUES (1,'admin','a tous les droits'),(2,'user','accès restreint à certaines tables');
/*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_membership`
--
DROP TABLE IF EXISTS `auth_membership`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_membership` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`group_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id__idx` (`user_id`),
KEY `group_id__idx` (`group_id`),
CONSTRAINT `auth_membership_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) ON DELETE CASCADE,
CONSTRAINT `auth_membership_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `auth_permission`
--
DROP TABLE IF EXISTS `auth_permission`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_permission` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` int(11) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`table_name` varchar(255) DEFAULT NULL,
`record_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `group_id__idx` (`group_id`),
CONSTRAINT `auth_permission_ibfk_1` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `auth_user`
--
DROP TABLE IF EXISTS `auth_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auth_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(128) DEFAULT NULL,
`last_name` varchar(128) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`registration_key` varchar(255) DEFAULT NULL,
`reset_password_key` varchar(255) DEFAULT NULL,
`registration_id` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `authors_roles`
--
DROP TABLE IF EXISTS `authors_roles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `authors_roles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`definition` longtext NOT NULL,
`role` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `role` (`role`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `authors_roles`
--
LOCK TABLES `authors_roles` WRITE;
/*!40000 ALTER TABLE `authors_roles` DISABLE KEYS */;
INSERT INTO `authors_roles` VALUES (1,'indéfini','indéfini'),(2,'','auteurs principaux');
/*!40000 ALTER TABLE `authors_roles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `axes`
--
DROP TABLE IF EXISTS `axes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `axes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`axis` varchar(255) NOT NULL,
`granularity` varchar(255) NOT NULL,
`tr_axis` varchar(255) NOT NULL,
`tr_granularity` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `axes`
--
LOCK TABLES `axes` WRITE;
/*!40000 ALTER TABLE `axes` DISABLE KEYS */;
INSERT INTO `axes` VALUES (1,'categories','code','catégories','code'),(2,'categories','usual','catégories','usuel'),(3,'countries','country','pays','pays'),(4,'projects','project','projets','projet'),(5,'projects','agencies','projets','agences'),(6,'publishers','abbreviation','revues','abréviation'),(7,'publishers','publisher','revues','revue'),(8,'status','code','status','code'),(9,'teams','domain','équipes','domaine'),(10,'teams','team','équipes','équipe'),(11,'publications','year','temps','année');
/*!40000 ALTER TABLE `axes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `categories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(255) NOT NULL,
`usual` varchar(255) DEFAULT NULL,
`definition` longtext NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `categories`
--
LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (1,'indéfini','','indéfini'),(2,'ACL','article','Articles dans des revues internationales ou nationales avec comité de lecture répertoriées par l’AERES ou dans les bases de données internationales'),(3,'ACLN','article','Articles dans des revues avec comité de lecture non répertoriées dans des bases de données internationales'),(4,'ASCL','article','Articles dans des revues sans comité de lecture'),(5,'BRE','brevet','Brevets'),(6,'INV','présentation orale','Conférences données à l’invitation du Comité d’organisation dans un congrès national ou international pour laquelle l\'ensemble des frais (transport, hôtel,...sont pris en charge par les organisateurs)'),(7,'ACTI','acte de conférence','Communications avec actes dans un congrès international'),(8,'ACTN','acte de conférence','Communications avec actes dans un congrès national'),(9,'COM','présentation orale','Communications orales sans actes dans un congrès international ou national'),(10,'AFF','affiche','Communications par affiche dans un congrès international ou national'),(11,'OS','ouvrage','Ouvrages scientifiques (ou chapitres de ces ouvrages)'),(12,'OV','ouvrage','Ouvrages de vulgarisation (ou chapitres de ces ouvrages)'),(13,'DO','ouvrage','Directions d’ouvrages ou de revues'),(14,'AP','rapport','Autres productions : bases de données, logiciels enregistrés, traductions, comptes rendus d’ouvrages,rapports de fouilles, guides techniques, catalogues d’exposition, rapports intermédiaires de grands projets internationaux, ...'),(15,'PRE','article','Article soumis à un éditeur mais pas encore publié (preprint)'),(16,'PHD ','mémoire','Thèse soutenue par un doctorant du CPPM. Cette catégorie inclus les thèses en co-tutelles '),(18,'HDR','mémoire','Habilitation à diriger des recherches par un chercheur du CPPM');
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `collaborations`
--
DROP TABLE IF EXISTS `collaborations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `collaborations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`collaboration` varchar(255) NOT NULL,
`synonyms` longtext,
PRIMARY KEY (`id`),
UNIQUE KEY `collaboration` (`collaboration`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `collaborations`
--
LOCK TABLES `collaborations` WRITE;
/*!40000 ALTER TABLE `collaborations` DISABLE KEYS */;
INSERT INTO `collaborations` VALUES (1,'indéfini',NULL);
/*!40000 ALTER TABLE `collaborations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `controllers`
--
DROP TABLE IF EXISTS `controllers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `controllers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`controller` varchar(255) NOT NULL,
`id_categories` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id_categories__idx` (`id_categories`),
CONSTRAINT `controllers_ibfk_1` FOREIGN KEY (`id_categories`) REFERENCES `categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `controllers`
--
LOCK TABLES `controllers` WRITE;
/*!40000 ALTER TABLE `controllers` DISABLE KEYS */;
INSERT INTO `controllers` VALUES (1,'articles',2),(2,'articles',3),(3,'notes',14),(4,'preprints',15),(5,'proceedings',7),(6,'proceedings',8),(7,'reports',14),(8,'talks',9),(9,'talks',6),(10,'theses',16),(12,'theses',18);
/*!40000 ALTER TABLE `controllers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `countries`
--
DROP TABLE IF EXISTS `countries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `countries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`country` varchar(255) NOT NULL,
`synonyms` longtext,
PRIMARY KEY (`id`),
UNIQUE KEY `country` (`country`)
) ENGINE=InnoDB AUTO_INCREMENT=328 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `countries`
--
LOCK TABLES `countries` WRITE;
/*!40000 ALTER TABLE `countries` DISABLE KEYS */;
INSERT INTO `countries` VALUES (1,'indéfini',NULL),(4,'France','|FR|250|FRA|'),(9,'Israel','|ISR|IS|IL|376|'),(11,'Canada','|CA|124|CAN|'),(13,'Vietnam','|704|VNM|VM|VN|'),(31,'Portugal','|PRT|620|PO|PT|'),(50,'Taiwan','|TW|TWN|158|'),(55,'Madagascar','|450|MG|MA|MDG|'),(63,'Germany','|GM|DE|DEU|276|'),(64,'Italy','|380|IT|ITA|'),(65,'Czech Republic','|CZ|203|EZ|CZE|'),(66,'Australia','|AS|AUS|AU|36|'),(67,'Spain','|724|SP|ES|ESP|'),(68,'Brazil','|76|BRA|BR|'),(70,'Austria','|AU|AT|40|AUT|'),(71,'Sweden','|752|SW|SWE|SE|'),(74,'Japan','|392|JP|JA|JPN|'),(75,'Croatia','|HR|HRV|191|'),(76,'United Kingdom','|826|GBR|GB|UK|'),(77,'China','|CH|CN|CHN|156|'),(79,'Greece','|300|GR|GRC|'),(81,'Switzerland','|SZ|CH|CHE|756|'),(85,'Mexico','|484|MX|MEX|'),(86,'New Zealand','|554|NZ|NZL|'),(93,'Poland','|POL|616|PL|'),(94,'South Africa','|ZAF|SF|ZA|710|'),(96,'Russia','|RU|643|RS|RUS|'),(99,'Finland','|FI|246|FIN|'),(103,'Andorra','|AND|20|AD|AN|'),(104,'United Arab Emirates','|784|AE|ARE|'),(105,'Afghanistan','|AFG|4|AF|'),(106,'Antigua and Barbuda','|ATG|AC|28|AG|'),(107,'Anguilla','|AI|AV|AIA|660|'),(108,'Albania','|8|ALB|AL|'),(109,'Armenia','|51|AM|ARM|'),(110,'Angola','|AGO|24|AO|'),(111,'Antarctica','|AQ|10|AY|ATA|'),(112,'Argentina','|32|AR|ARG|'),(113,'American Samoa','|AQ|AS|ASM|16|'),(114,'Aruba','|AA|533|AW|ABW|'),(115,'Aland Islands','|AX|248|ALA|'),(116,'Azerbaijan','|31|AZ|AZE|AJ|'),(117,'Bosnia and Herzegovina','|BK|BA|BIH|70|'),(118,'Barbados','|BRB|BB|52|'),(119,'Bangladesh','|BD|BG|BGD|50|'),(120,'Belgium','|BE|56|BEL|'),(121,'Burkina Faso','|854|BF|UV|BFA|'),(122,'Bulgaria','|BU|BGR|BG|100|'),(123,'Bahrain','|BHR|BH|BA|48|'),(124,'Burundi','|108|BDI|BI|BY|'),(125,'Benin','|BN|BEN|204|BJ|'),(126,'Saint Barthelemy','|BL|BLM|TB|652|'),(127,'Bermuda','|60|BM|BD|BMU|'),(128,'Brunei','|BRN|BN|BX|96|'),(129,'Bolivia','|68|BL|BO|BOL|'),(130,'Bonaire','|BES|535|BQ|'),(131,'Bahamas','|BHS|44|BF|BS|'),(132,'Bhutan','|BT|BTN|64|'),(133,'Bouvet Island','|BV|74|BVT|'),(134,'Botswana','|BWA|BW|72|BC|'),(135,'Belarus','|BO|112|BY|BLR|'),(136,'Belize','|BH|84|BZ|BLZ|'),(137,'Cocos Islands','|CC|CK|166|CCK|'),(138,'Democratic Republic of the Congo','|180|CG|COD|CD|'),(139,'Central African Republic','|CT|CF|140|CAF|'),(140,'Republic of the Congo','|CG|CF|COG|178|'),(141,'Ivory Coast','|CI|384|CIV|IV|'),(142,'Cook Islands','|CK|COK|CW|184|'),(143,'Chile','|CI|152|CHL|CL|'),(144,'Cameroon','|120|CMR|CM|'),(145,'Colombia','|CO|COL|170|'),(146,'Costa Rica','|CS|CR|188|CRI|'),(147,'Cuba','|CUB|CU|192|'),(148,'Cape Verde','|132|CV|CPV|'),(149,'Curacao','|CUW|CW|UC|531|'),(150,'Christmas Island','|CXR|CX|162|KT|'),(151,'Cyprus','|CY|CYP|196|'),(152,'Djibouti','|DJI|262|DJ|'),(153,'Denmark','|208|DK|DNK|DA|'),(154,'Dominica','|DMA|DM|212|DO|'),(155,'Dominican Republic','|DO|214|DR|DOM|'),(156,'Algeria','|DZA|12|DZ|AG|'),(157,'Ecuador','|ECU|218|EC|'),(158,'Estonia','|EE|EST|EN|233|'),(159,'Egypt','|818|EG|EGY|'),(160,'Western Sahara','|732|EH|WI|ESH|'),(161,'Eritrea','|ERI|232|ER|'),(162,'Ethiopia','|ET|ETH|231|'),(163,'Fiji','|FJ|FJI|242|'),(164,'Falkland Islands','|FLK|FK|238|'),(165,'Micronesia','|583|FM|FSM|'),(166,'Faroe Islands','|234|FRO|FO|'),(167,'Gabon','|GB|GAB|GA|266|'),(168,'Grenada','|308|GRD|GD|GJ|'),(169,'Georgia','|GG|GE|268|GEO|'),(170,'French Guiana','|GF|GUF|254|FG|'),(171,'Guernsey','|GG|GK|831|GGY|'),(172,'Ghana','|288|GHA|GH|'),(173,'Gibraltar','|292|GIB|GI|'),(174,'Greenland','|GRL|GL|304|'),(175,'Gambia','|270|GMB|GM|GA|'),(176,'Guinea','|GN|GV|324|GIN|'),(177,'Guadeloupe','|GLP|312|GP|'),(178,'Equatorial Guinea','|226|GNQ|EK|GQ|'),(179,'South Georgia and the South Sandwich Islands','|SGS|SX|GS|239|'),(180,'Guatemala','|320|GT|GTM|'),(181,'Guam','|GU|GQ|316|GUM|'),(182,'Guinea-Bissau','|GW|GNB|PU|624|'),(183,'Guyana','|GUY|328|GY|'),(184,'Hong Kong','|344|HK|HKG|'),(185,'Heard Island and McDonald Islands','|HMD|334|HM|'),(186,'Honduras','|340|HN|HND|HO|'),(187,'Haiti','|HA|HTI|HT|332|'),(188,'Hungary','|HUN|348|HU|'),(189,'Indonesia','|IDN|ID|360|'),(190,'Ireland','|IRL|372|IE|EI|'),(191,'Isle of Man','|833|IM|IMN|'),(192,'India','|IND|356|IN|'),(193,'British Indian Ocean Territory','|IOT|86|IO|'),(194,'Iraq','|IQ|IRQ|IZ|368|'),(195,'Iran','|364|IR|IRN|'),(196,'Iceland','|IC|IS|352|ISL|'),(197,'Jersey','|832|JE|JEY|'),(198,'Jamaica','|388|JM|JAM|'),(199,'Jordan','|JOR|JO|400|'),(200,'Kenya','|KEN|404|KE|'),(201,'Kyrgyzstan','|417|KGZ|KG|'),(202,'Cambodia','|CB|KH|116|KHM|'),(203,'Kiribati','|296|KIR|KI|KR|'),(204,'Comoros','|174|COM|CN|KM|'),(205,'Saint Kitts and Nevis','|SC|659|KN|KNA|'),(206,'North Korea','|KP|KN|PRK|408|'),(207,'South Korea','|KS|KR|KOR|410|'),(208,'Kosovo','|XK|XKX|KV|0|'),(209,'Kuwait','|414|KW|KWT|KU|'),(210,'Cayman Islands','|CJ|KY|136|CYM|'),(211,'Kazakhstan','|KZ|398|KAZ|'),(212,'Laos','|LAO|418|LA|'),(213,'Lebanon','|422|LB|LE|LBN|'),(214,'Saint Lucia','|ST|662|LC|LCA|'),(215,'Liechtenstein','|LIE|LS|438|LI|'),(216,'Sri Lanka','|144|LK|CE|LKA|'),(217,'Liberia','|LBR|LR|430|LI|'),(218,'Lesotho','|LSO|LT|LS|426|'),(219,'Lithuania','|LT|440|LH|LTU|'),(220,'Luxembourg','|LUX|442|LU|'),(221,'Latvia','|LV|428|LVA|LG|'),(222,'Libya','|LBY|434|LY|'),(223,'Morocco','|504|MAR|MA|MO|'),(224,'Monaco','|MCO|MN|492|MC|'),(225,'Moldova','|MD|MDA|498|'),(226,'Montenegro','|ME|MJ|MNE|499|'),(227,'Saint Martin','|RN|MF|663|MAF|'),(228,'Marshall Islands','|584|RM|MHL|MH|'),(229,'Macedonia','|MKD|807|MK|'),(230,'Mali','|ML|466|MLI|'),(231,'Myanmar','|MM|BM|104|MMR|'),(232,'Mongolia','|496|MN|MG|MNG|'),(233,'Macao','|MO|MAC|MC|446|'),(234,'Northern Mariana Islands','|MNP|CQ|MP|580|'),(235,'Martinique','|MTQ|MQ|474|MB|'),(236,'Mauritania','|MRT|478|MR|'),(237,'Montserrat','|500|MSR|MS|MH|'),(238,'Malta','|MT|470|MLT|'),(239,'Mauritius','|MU|MP|MUS|480|'),(240,'Maldives','|MV|MDV|462|'),(241,'Malawi','|MI|MW|454|MWI|'),(242,'Malaysia','|458|MYS|MY|'),(243,'Mozambique','|MOZ|508|MZ|'),(244,'Namibia','|NA|516|WA|NAM|'),(245,'New Caledonia','|540|NC|NCL|'),(246,'Niger','|562|NER|NE|NG|'),(247,'Norfolk Island','|NFK|NF|574|'),(248,'Nigeria','|NI|NGA|566|NG|'),(249,'Nicaragua','|NI|558|NU|NIC|'),(250,'Netherlands','|528|NL|NLD|'),(251,'Norway','|578|NOR|NO|'),(252,'Nepal','|NP|NPL|524|'),(253,'Nauru','|NR|520|NRU|'),(254,'Niue','|570|NU|NE|NIU|'),(255,'Oman','|MU|OM|512|OMN|'),(256,'Panama','|591|PA|PAN|PM|'),(257,'Peru','|604|PER|PE|'),(258,'French Polynesia','|FP|258|PF|PYF|'),(259,'Papua New Guinea','|598|PP|PG|PNG|'),(260,'Philippines','|PH|RP|608|PHL|'),(261,'Pakistan','|586|PK|PAK|'),(262,'Saint Pierre and Miquelon','|SB|666|SPM|PM|'),(263,'Pitcairn','|612|PCN|PN|PC|'),(264,'Puerto Rico','|PR|630|PRI|RQ|'),(265,'Palestinian Territory','|PS|WE|275|PSE|'),(266,'Palau','|PLW|PS|585|PW|'),(267,'Paraguay','|PA|PY|PRY|600|'),(268,'Qatar','|QA|QAT|634|'),(269,'Reunion','|638|RE|REU|'),(270,'Romania','|RO|ROU|642|'),(271,'Serbia','|SRB|RI|688|RS|'),(272,'Rwanda','|RWA|RW|646|'),(273,'Saudi Arabia','|SA|SAU|682|'),(274,'Solomon Islands','|SB|BP|SLB|90|'),(275,'Seychelles','|SC|SYC|690|SE|'),(276,'Sudan','|SDN|729|SU|SD|'),(277,'South Sudan','|SS|SSD|OD|728|'),(278,'Singapore','|SGP|SG|SN|702|'),(279,'Saint Helena','|654|SH|SHN|'),(280,'Slovenia','|SVN|705|SI|'),(281,'Svalbard and Jan Mayen','|SJ|744|SV|SJM|'),(282,'Slovakia','|SK|LO|SVK|703|'),(283,'Sierra Leone','|SLE|694|SL|'),(284,'San Marino','|674|SMR|SM|'),(285,'Senegal','|SEN|686|SG|SN|'),(286,'Somalia','|SOM|706|SO|'),(287,'Suriname','|740|SR|NS|SUR|'),(288,'Sao Tome and Principe','|678|STP|TP|ST|'),(289,'El Salvador','|SLV|SV|ES|222|'),(290,'Sint Maarten','|534|SX|SXM|NN|'),(291,'Syria','|SYR|SY|760|'),(292,'Swaziland','|748|SZ|SWZ|WZ|'),(293,'Turks and Caicos Islands','|796|TK|TC|TCA|'),(294,'Chad','|TD|TCD|148|CD|'),(295,'French Southern Territories','|TF|ATF|260|FS|'),(296,'Togo','|TG|768|TGO|TO|'),(297,'Thailand','|764|THA|TH|'),(298,'Tajikistan','|762|TJK|TJ|TI|'),(299,'Tokelau','|TL|TKL|TK|772|'),(300,'East Timor','|TLS|TL|626|TT|'),(301,'Turkmenistan','|795|TM|TKM|TX|'),(302,'Tunisia','|TN|788|TS|TUN|'),(303,'Tonga','|TN|TO|776|TON|'),(304,'Turkey','|TUR|TU|TR|792|'),(305,'Trinidad and Tobago','|780|TT|TTO|TD|'),(306,'Tuvalu','|TV|TUV|798|'),(307,'Tanzania','|TZA|TZ|834|'),(308,'Ukraine','|UP|UA|UKR|804|'),(309,'Uganda','|UG|800|UGA|'),(310,'United States Minor Outlying Islands','|UM|UMI|581|'),(311,'United States','|USA|US|840|'),(312,'Uruguay','|858|UY|URY|'),(313,'Uzbekistan','|860|UZB|UZ|'),(314,'Vatican','|VA|336|VT|VAT|'),(315,'Saint Vincent and the Grenadines','|670|VC|VCT|'),(316,'Venezuela','|VEN|862|VE|'),(317,'British Virgin Islands','|VI|92|VGB|VG|'),(318,'U.S. Virgin Islands','|VIR|VI|850|VQ|'),(319,'Vanuatu','|NH|VUT|548|VU|'),(320,'Wallis and Futuna','|876|WF|WLF|'),(321,'Samoa','|WSM|WS|882|'),(322,'Yemen','|YEM|887|YE|YM|'),(323,'Mayotte','|175|MF|YT|MYT|'),(324,'Zambia','|ZMB|ZM|894|ZA|'),(325,'Zimbabwe','|716|ZW|ZWE|ZI|'),(326,'Serbia and Montenegro','|CS|891|SCG|YI|'),(327,'Netherlands Antilles','|ANT|530|NT|AN|');
/*!40000 ALTER TABLE `countries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `graphs`
--
DROP TABLE IF EXISTS `graphs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `graphs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`graph` varchar(255) NOT NULL,
`definition` longtext,
`stack_axis` varchar(255) DEFAULT NULL,
`stack_granularity` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `graphs`
--
LOCK TABLES `graphs` WRITE;
/*!40000 ALTER TABLE `graphs` DISABLE KEYS */;
INSERT INTO `graphs` VALUES (1,'publi. vs temps','Le nombre de publications par mois ou par année',NULL,NULL),(2,'publi. / domaine vs temps','Le nombre de publications par domaine scientifique, par mois ou par année','teams','domain'),(3,'publi. / équipe vs temps','Le nombre de publications par équipe, par mois ou par année','teams','team'),(4,'publi. / projet vs temps','Le nombre de publications par projet, par mois ou par année','projects','project'),(5,'publi. / cat. usuelle vs temps','Le nombre de publications par catégorie usuelle, par mois ou par année','categories','usual'),(6,'publi. / cat. AERES vs temps','Le nombre de publications par catégorie AERES, par mois ou par année','categories','code');
/*!40000 ALTER TABLE `graphs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `harvesters`
--
DROP TABLE IF EXISTS `harvesters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `harvesters` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_teams` int(11) DEFAULT NULL,
`id_projects` int(11) DEFAULT NULL,
`controller` varchar(255) NOT NULL,
`host` varchar(255) NOT NULL DEFAULT 'cdsweb.cern.ch',
`collections` varchar(255) DEFAULT NULL,
`id_categories` int(11) DEFAULT NULL,
`scan` char(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id_teams__idx` (`id_teams`),
KEY `id_projects__idx` (`id_projects`),
KEY `id_categories__idx` (`id_categories`),
CONSTRAINT `harvesters_ibfk_1` FOREIGN KEY (`id_teams`) REFERENCES `teams` (`id`) ON DELETE CASCADE,
CONSTRAINT `harvesters_ibfk_2` FOREIGN KEY (`id_projects`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
CONSTRAINT `harvesters_ibfk_3` FOREIGN KEY (`id_categories`) REFERENCES `categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lists`
--
DROP TABLE IF EXISTS `lists`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lists` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`list` varchar(255) NOT NULL,
`definition` longtext,
`sections` longtext NOT NULL,
`axis_level_1` varchar(255) DEFAULT NULL,
`axis_level_2` varchar(255) DEFAULT NULL,
`axis_level_3` varchar(255) DEFAULT NULL,
`axis_level_4` varchar(255) DEFAULT NULL,
`granularity_level_1` varchar(255) DEFAULT NULL,
`granularity_level_2` varchar(255) DEFAULT NULL,
`granularity_level_3` varchar(255) DEFAULT NULL,
`granularity_level_4` varchar(255) DEFAULT NULL,
`direction_level_1` varchar(255) DEFAULT NULL,
`direction_level_2` varchar(255) DEFAULT NULL,
`direction_level_3` varchar(255) DEFAULT NULL,
`direction_level_4` varchar(255) DEFAULT NULL,
`axis_label_converters` longtext,
`header_flag` char(1) DEFAULT NULL,
`footer_flag` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lists`
--
LOCK TABLES `lists` WRITE;
/*!40000 ALTER TABLE `lists` DISABLE KEYS */;
INSERT INTO `lists` VALUES (1,'cat. usuelle / équipe / année','Liste triée par catégorie usuelle par équipe et par année.','Preprints, Articles, Actes de conférence, Présentations orales, Affiches, Rapports, Rapports de collaboration, PHDs','categories','teams','publications',NULL,'usual','team','year',NULL,'ASC','ASC','ASC','DESC','','T','T'),(2,'cat. usuelle / année','Liste triée par catégorie usuelle et par année.','Preprints, Articles, Actes de conférence, Présentations orales, Affiches, Rapports, Rapports de collaboration, PHDs','categories','publications',NULL,NULL,'usual','year',NULL,NULL,'ASC','ASC','ASC','DESC','','T','T'),(3,'cat. usuelle / projet / année','Liste triée par catégorie usuelle par projet et par année.','Preprints, Articles, Actes de conférence, Présentations orales,Affiches, Rapports, Rapports de collaboration, PHDs','categories','projects','publications',NULL,'usual','project','year',NULL,'ASC','ASC','ASC','DESC','','T','T'),(4,'cat. AERES / projet / année','Liste triée par catégorie AERES par projet et par année. ','Preprints, Articles, Actes de conférence, Présentations orales,Affiches, Rapports, Rapports de collaboration, PHDs','categories','projects','publications',NULL,'code','project','year',NULL,'ASC','ASC','ASC','DESC','','T','T'),(5,'phd / équipe / année','Liste des thèses de doctorat triée par équipe et par année','PHDs','teams','publications',NULL,NULL,'team','year',NULL,NULL,'ASC','ASC','ASC','ASC','','T','T'),(6,'EAOM','Liste triée par catégorie AERES par projet et par année. ','Articles, Actes de conférence, Présentations orales,Affiches, Rapports, Rapports de collaboration, PHDs','categories','projects','publications',NULL,'code','project','year',NULL,'ASC','ASC','ASC','DESC','','T','T'),(7,'cat. AERES / année','Liste triée par catégorie AERES et par année.','Preprints, Articles, Actes de conférence, Présentations orales, Affiches, Rapports, Rapports de collaboration, PHDs','categories','publications',NULL,NULL,'code','year',NULL,NULL,'ASC','ASC','ASC','DESC','','T','T'),(8,'CRAC','Liste des articles triée par année. Le format est adapté au CRAC.','Articles CRAC','publications',NULL,NULL,NULL,'year',NULL,NULL,NULL,'ASC','ASC','ASC','DESC','','T','T'),(9,'hdr / équipe / année','Liste des habilitations à diriger des recherche triée par équipe et par année','HDRs','teams','publications',NULL,NULL,'team','year',NULL,NULL,'ASC','ASC','ASC','ASC','','T','T');
/*!40000 ALTER TABLE `lists` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `metrics`
--
DROP TABLE IF EXISTS `metrics`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `metrics` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`metric` varchar(255) NOT NULL,
`definition` longtext,
`axis_vertical` varchar(255) DEFAULT NULL,
`axis_horizontal` varchar(255) DEFAULT NULL,
`granularity_vertical` varchar(255) DEFAULT NULL,
`granularity_horizontal` varchar(255) DEFAULT NULL,
`direction_vertical` varchar(255) DEFAULT NULL,
`direction_horizontal` varchar(255) DEFAULT NULL,
`axis_label_converters` longtext,
`conditions` longtext,
`header_flag` char(1) DEFAULT NULL,
`footer_flag` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `metrics`
--
LOCK TABLES `metrics` WRITE;
/*!40000 ALTER TABLE `metrics` DISABLE KEYS */;
INSERT INTO `metrics` VALUES (1,'cat. usuelle / année','Comptage par catégorie usuelle et par année.','categories','publications','usual','year','ASC','ASC','','','T','T'),(2,'cat. aeres / année','Comptage par catégorie AERES et par année.','categories','publications','code','year','ASC','ASC','','','T','T'),(3,'équipe / année','Comptage par équipe et par année.','teams','publications','team','year','ASC','ASC','','','T','T'),(4,'domaine / année','Comptage par domaine scientifique et par année.','teams','publications','domain','year','ASC','ASC','','','T','T'),(5,'projet / année','Comptage par projet et par année.','projects','publications','project','year','ASC','ASC','','','T','T'),(6,'phd / équipe / année','Comptage des thèses de doctorat par équipe et par année','teams','publications','team','year','ASC','ASC','','id_categories=16','T','T'),(7,'status / année','Comptage par status et par année','status','publications','code','year','ASC','ASC','','','T','T'),(8,'revue / année','Comptage des articles par revue et par année','publishers','publications','abbreviation','year','ASC','ASC','','id_categories=2','T','T');
/*!40000 ALTER TABLE `metrics` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `my_authors`
--
DROP TABLE IF EXISTS `my_authors`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `my_authors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`year` int(11) NOT NULL DEFAULT '2014',
`id_teams` int(11) DEFAULT NULL,
`id_projects` int(11) DEFAULT NULL,
`authors` longtext NOT NULL,
PRIMARY KEY (`id`),
KEY `id_teams__idx` (`id_teams`),
KEY `id_projects__idx` (`id_projects`),
CONSTRAINT `my_authors_ibfk_1` FOREIGN KEY (`id_teams`) REFERENCES `teams` (`id`) ON DELETE CASCADE,
CONSTRAINT `my_authors_ibfk_2` FOREIGN KEY (`id_projects`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `organisation`
--
DROP TABLE IF EXISTS `organisation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `organisation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_teams` int(11) DEFAULT NULL,
`id_projects` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id_teams__idx` (`id_teams`),
KEY `id_projects__idx` (`id_projects`),
CONSTRAINT `organisation_ibfk_1` FOREIGN KEY (`id_teams`) REFERENCES `teams` (`id`) ON DELETE CASCADE,
CONSTRAINT `organisation_ibfk_2` FOREIGN KEY (`id_projects`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `organisation`
--
LOCK TABLES `organisation` WRITE;
/*!40000 ALTER TABLE `organisation` DISABLE KEYS */;
INSERT INTO `organisation` VALUES (1,1,1);
/*!40000 ALTER TABLE `organisation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `preferences`
--
DROP TABLE IF EXISTS `preferences`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `preferences` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`property` varchar(255) NOT NULL,
`value` longtext,
`definition` longtext NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `property` (`property`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `preferences`
--
LOCK TABLES `preferences` WRITE;
/*!40000 ALTER TABLE `preferences` DISABLE KEYS */;
INSERT INTO `preferences` VALUES (1,'authorize_harvester_scan','false','Les moissonneurs sont éxécuté automatiquement quand cette valuer est égale à vraie.'),(2,'authorize_user_login','true','Les utilisateurs peuvent se logger quand cette valuer est égale à vraie.'),(3,'harvester_start_year','2010','Défini les années pour lesquelles les moissonneurs peuvent être éxecutés. Le début de la période est la valeur donnée. La fin de la période est l\'année courrante.');
/*!40000 ALTER TABLE `preferences` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `projects`
--
DROP TABLE IF EXISTS `projects`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `projects` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`project` varchar(255) NOT NULL,
`agencies` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `project` (`project`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `projects`
--
LOCK TABLES `projects` WRITE;
/*!40000 ALTER TABLE `projects` DISABLE KEYS */;
INSERT INTO `projects` VALUES (1,'indéfini','indéfini');
/*!40000 ALTER TABLE `projects` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `publications`
--
DROP TABLE IF EXISTS `publications`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `publications` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` longtext NOT NULL,
`first_author` varchar(255) NOT NULL,
`authors` longtext NOT NULL,
`id_collaborations` int(11) DEFAULT NULL,
`id_publishers` int(11) DEFAULT NULL,
`year` int(11) NOT NULL,
`volume` varchar(255) DEFAULT NULL,
`pages` varchar(255) DEFAULT NULL,
`submitted` varchar(255) NOT NULL,
`preprint` varchar(255) DEFAULT NULL,
`publication_url` varchar(255) DEFAULT NULL,
`conference_title` longtext,
`conference_url` varchar(255) DEFAULT NULL,
`conference_dates` varchar(255) DEFAULT NULL,
`conference_town` varchar(255) DEFAULT NULL,
`id_countries` int(11) DEFAULT NULL,