-- Table structure for table `claro_user`
--

DROP TABLE IF EXISTS `claro_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) DEFAULT NULL,
  `options_id` int(11) DEFAULT NULL,
  `first_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `last_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `locale` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `salt` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `administrative_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  `initialization_date` datetime DEFAULT NULL,
  `reset_password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `hash_time` int(11) DEFAULT NULL,
  `picture` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `hasAcceptedTerms` tinyint(1) DEFAULT NULL,
  `is_enabled` tinyint(1) NOT NULL,
  `is_mail_notified` tinyint(1) NOT NULL,
  `last_uri` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `public_url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `has_tuned_public_url` tinyint(1) NOT NULL,
  `expiration_date` datetime DEFAULT NULL,
  `authentication` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `guid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_mail_validated` tinyint(1) NOT NULL,
  `email_validation_hash` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `hide_mail_warning` tinyint(1) NOT NULL,
  `is_removed` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_EB8D2852F85E0677` (`username`),
  UNIQUE KEY `UNIQ_EB8D28525126AC48` (`mail`),
  UNIQUE KEY `UNIQ_EB8D2852181F3A64` (`public_url`),
  UNIQUE KEY `UNIQ_EB8D285282D40A1F` (`workspace_id`),
  UNIQUE KEY `UNIQ_EB8D28523ADB05F1` (`options_id`),
  KEY `code_idx` (`administrative_code`),
  KEY `enabled_idx` (`is_enabled`),
  CONSTRAINT `FK_EB8D28523ADB05F1` FOREIGN KEY (`options_id`) REFERENCES `claro_user_options` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_EB8D285282D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user`
--

LOCK TABLES `claro_user` WRITE;
/*!40000 ALTER TABLE `claro_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_administrator`
--

DROP TABLE IF EXISTS `claro_user_administrator`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_administrator` (
  `organization_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`user_id`,`organization_id`),
  KEY `IDX_22EB9B3A32C8A3DE` (`organization_id`),
  KEY `IDX_22EB9B3AA76ED395` (`user_id`),
  CONSTRAINT `FK_22EB9B3A32C8A3DE` FOREIGN KEY (`organization_id`) REFERENCES `claro__organization` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_22EB9B3AA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_administrator`
--

LOCK TABLES `claro_user_administrator` WRITE;
/*!40000 ALTER TABLE `claro_user_administrator` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_administrator` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_badge`
--

DROP TABLE IF EXISTS `claro_user_badge`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_badge` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `badge_id` int(11) NOT NULL,
  `issuer_id` int(11) DEFAULT NULL,
  `issued_at` datetime NOT NULL,
  `expired_at` datetime DEFAULT NULL,
  `comment` longtext COLLATE utf8_unicode_ci,
  `is_shared` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_badge_unique` (`user_id`,`badge_id`),
  KEY `IDX_7EBB381FA76ED395` (`user_id`),
  KEY `IDX_7EBB381FF7A2C2FC` (`badge_id`),
  KEY `IDX_7EBB381FBB9D6FEE` (`issuer_id`),
  CONSTRAINT `FK_7EBB381FA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_7EBB381FBB9D6FEE` FOREIGN KEY (`issuer_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_7EBB381FF7A2C2FC` FOREIGN KEY (`badge_id`) REFERENCES `claro_badge` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_badge`
--

LOCK TABLES `claro_user_badge` WRITE;
/*!40000 ALTER TABLE `claro_user_badge` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_badge` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_group`
--

DROP TABLE IF EXISTS `claro_user_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_group` (
  `user_id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  PRIMARY KEY (`user_id`,`group_id`),
  KEY `IDX_ED8B34C7A76ED395` (`user_id`),
  KEY `IDX_ED8B34C7FE54D947` (`group_id`),
  CONSTRAINT `FK_ED8B34C7FE54D947` FOREIGN KEY (`group_id`) REFERENCES `claro_group` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_ED8B34C7A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_group`
--

LOCK TABLES `claro_user_group` WRITE;
/*!40000 ALTER TABLE `claro_user_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_location`
--

DROP TABLE IF EXISTS `claro_user_location`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_location` (
  `location_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`location_id`,`user_id`),
  KEY `IDX_932BBCCB64D218E` (`location_id`),
  KEY `IDX_932BBCCBA76ED395` (`user_id`),
  CONSTRAINT `FK_932BBCCBA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_932BBCCB64D218E` FOREIGN KEY (`location_id`) REFERENCES `claro__location` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_location`
--

LOCK TABLES `claro_user_location` WRITE;
/*!40000 ALTER TABLE `claro_user_location` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_location` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_message`
--

DROP TABLE IF EXISTS `claro_user_message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_message` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `message_id` int(11) NOT NULL,
  `is_removed` tinyint(1) NOT NULL,
  `is_read` tinyint(1) NOT NULL,
  `is_sent` tinyint(1) NOT NULL,
  `last_open_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_D48EA38AA76ED395` (`user_id`),
  KEY `IDX_D48EA38A537A1329` (`message_id`),
  CONSTRAINT `FK_D48EA38A537A1329` FOREIGN KEY (`message_id`) REFERENCES `claro_message` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D48EA38AA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_message`
--

LOCK TABLES `claro_user_message` WRITE;
/*!40000 ALTER TABLE `claro_user_message` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_options`
--

DROP TABLE IF EXISTS `claro_user_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `desktop_background_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `desktop_mode` int(11) NOT NULL DEFAULT '1',
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_B2066972A76ED395` (`user_id`),
  CONSTRAINT `FK_B2066972A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_options`
--

LOCK TABLES `claro_user_options` WRITE;
/*!40000 ALTER TABLE `claro_user_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_user_role`
--

DROP TABLE IF EXISTS `claro_user_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_user_role` (
  `user_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  PRIMARY KEY (`user_id`,`role_id`),
  KEY `IDX_797E43FFA76ED395` (`user_id`),
  KEY `IDX_797E43FFD60322AC` (`role_id`),
  CONSTRAINT `FK_797E43FFD60322AC` FOREIGN KEY (`role_id`) REFERENCES `claro_role` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_797E43FFA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_user_role`
--

LOCK TABLES `claro_user_role` WRITE;
/*!40000 ALTER TABLE `claro_user_role` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_user_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_video_track`
--

DROP TABLE IF EXISTS `claro_video_track`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_video_track` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `video_id` int(11) DEFAULT NULL,
  `lang` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `kind` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_default` tinyint(1) NOT NULL,
  `trackFile_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_D25DC06529C1004E` (`video_id`),
  KEY `IDX_D25DC065ED87669A` (`trackFile_id`),
  CONSTRAINT `FK_D25DC065ED87669A` FOREIGN KEY (`trackFile_id`) REFERENCES `claro_file` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D25DC06529C1004E` FOREIGN KEY (`video_id`) REFERENCES `claro_file` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_video_track`
--

LOCK TABLES `claro_video_track` WRITE;
/*!40000 ALTER TABLE `claro_video_track` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_video_track` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget`
--

DROP TABLE IF EXISTS `claro_widget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `plugin_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_configurable` tinyint(1) NOT NULL,
  `is_exportable` tinyint(1) NOT NULL,
  `is_displayable_in_workspace` tinyint(1) NOT NULL,
  `is_displayable_in_desktop` tinyint(1) NOT NULL,
  `default_width` int(11) NOT NULL DEFAULT '4',
  `default_height` int(11) NOT NULL DEFAULT '3',
  PRIMARY KEY (`id`),
  UNIQUE KEY `widget_plugin_unique` (`name`,`plugin_id`),
  KEY `IDX_76CA6C4FEC942BCF` (`plugin_id`),
  CONSTRAINT `FK_76CA6C4FEC942BCF` FOREIGN KEY (`plugin_id`) REFERENCES `claro_plugin` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget`
--

LOCK TABLES `claro_widget` WRITE;
/*!40000 ALTER TABLE `claro_widget` DISABLE KEYS */;
INSERT INTO `claro_widget` VALUES (1,NULL,'core_resource_logger',1,0,1,1,4,3),(2,NULL,'simple_text',1,0,1,1,4,3),(3,NULL,'my_workspaces',0,0,0,1,4,3),(4,NULL,'my_profile',0,0,0,1,4,3),(5,NULL,'resources_widget',1,0,1,1,4,3),(6,1,'agenda_',0,0,1,1,4,3),(7,1,'agenda_task',0,0,1,1,4,3),(8,5,'claroline_forum_widget',1,0,1,1,4,3),(9,6,'claroline_tag_resources_widget',1,0,1,0,4,3),(10,8,'claroline_rssreader',1,1,1,1,4,3),(11,11,'claroline_announcement_widget',1,0,1,1,4,3),(12,15,'claroline_cursus_courses_registration_widget',1,0,1,1,12,4),(13,15,'claroline_cursus_my_courses',1,0,0,1,12,4),(14,24,'hevinci_favourite_widget',0,0,0,1,4,3),(15,25,'my-learning-objectives',0,0,1,1,4,3),(16,28,'badge_usage',1,0,1,0,4,3),(17,29,'blog_list',1,0,1,1,4,3),(18,29,'blog',1,0,1,1,4,3),(19,29,'tag_list',1,0,1,1,4,3),(20,35,'claroline_result',0,0,1,0,4,3),(21,36,'innova_path_widget',1,0,1,1,4,3),(22,46,'claroline_claco_form_widget',1,0,1,1,12,4);
/*!40000 ALTER TABLE `claro_widget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget_badge_usage_config`
--

DROP TABLE IF EXISTS `claro_widget_badge_usage_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget_badge_usage_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `numberLastAwardedBadge` smallint(6) NOT NULL,
  `numberMostAwardedBadge` smallint(6) NOT NULL,
  `widgetInstance_id` int(11) DEFAULT NULL,
  `simple_view` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_9A2EA78BAB7B5A55` (`widgetInstance_id`),
  CONSTRAINT `FK_9A2EA78BAB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget_badge_usage_config`
--

LOCK TABLES `claro_widget_badge_usage_config` WRITE;
/*!40000 ALTER TABLE `claro_widget_badge_usage_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_widget_badge_usage_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget_display_config`
--

DROP TABLE IF EXISTS `claro_widget_display_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget_display_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `widget_instance_id` int(11) NOT NULL,
  `row_position` int(11) NOT NULL,
  `column_position` int(11) NOT NULL,
  `width` int(11) NOT NULL DEFAULT '4',
  `height` int(11) NOT NULL DEFAULT '3',
  `color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`),
  UNIQUE KEY `widget_display_config_unique_user` (`widget_instance_id`,`user_id`),
  UNIQUE KEY `widget_display_config_unique_workspace` (`widget_instance_id`,`workspace_id`),
  KEY `IDX_EBBE497282D40A1F` (`workspace_id`),
  KEY `IDX_EBBE4972A76ED395` (`user_id`),
  KEY `IDX_EBBE497244BF891` (`widget_instance_id`),
  CONSTRAINT `FK_EBBE497244BF891` FOREIGN KEY (`widget_instance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EBBE497282D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EBBE4972A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget_display_config`
--

LOCK TABLES `claro_widget_display_config` WRITE;
/*!40000 ALTER TABLE `claro_widget_display_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_widget_display_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget_home_tab_config`
--

DROP TABLE IF EXISTS `claro_widget_home_tab_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget_home_tab_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `widget_instance_id` int(11) DEFAULT NULL,
  `home_tab_id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `workspace_id` int(11) DEFAULT NULL,
  `widget_order` int(11) NOT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `is_visible` tinyint(1) NOT NULL,
  `is_locked` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_D48CC23E44BF891` (`widget_instance_id`),
  KEY `IDX_D48CC23E7D08FA9E` (`home_tab_id`),
  KEY `IDX_D48CC23EA76ED395` (`user_id`),
  KEY `IDX_D48CC23E82D40A1F` (`workspace_id`),
  CONSTRAINT `FK_D48CC23E82D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D48CC23E44BF891` FOREIGN KEY (`widget_instance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D48CC23E7D08FA9E` FOREIGN KEY (`home_tab_id`) REFERENCES `claro_home_tab` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D48CC23EA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget_home_tab_config`
--

LOCK TABLES `claro_widget_home_tab_config` WRITE;
/*!40000 ALTER TABLE `claro_widget_home_tab_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_widget_home_tab_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget_instance`
--

DROP TABLE IF EXISTS `claro_widget_instance`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget_instance` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `widget_id` int(11) NOT NULL,
  `is_admin` tinyint(1) NOT NULL,
  `is_desktop` tinyint(1) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `template` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_5F89A38582D40A1F` (`workspace_id`),
  KEY `IDX_5F89A385A76ED395` (`user_id`),
  KEY `IDX_5F89A385FBE885E2` (`widget_id`),
  CONSTRAINT `FK_5F89A38582D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_5F89A385A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_5F89A385FBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `claro_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget_instance`
--

LOCK TABLES `claro_widget_instance` WRITE;
/*!40000 ALTER TABLE `claro_widget_instance` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_widget_instance` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_widget_roles`
--

DROP TABLE IF EXISTS `claro_widget_roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_widget_roles` (
  `widget_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  PRIMARY KEY (`widget_id`,`role_id`),
  KEY `IDX_D746FA2EFBE885E2` (`widget_id`),
  KEY `IDX_D746FA2ED60322AC` (`role_id`),
  CONSTRAINT `FK_D746FA2ED60322AC` FOREIGN KEY (`role_id`) REFERENCES `claro_role` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D746FA2EFBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `claro_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_widget_roles`
--

LOCK TABLES `claro_widget_roles` WRITE;
/*!40000 ALTER TABLE `claro_widget_roles` DISABLE KEYS */;
INSERT INTO `claro_widget_roles` VALUES (1,1),(1,2),(1,3),(1,5),(2,1),(2,2),(2,3),(2,5),(3,1),(3,2),(3,3),(3,5),(4,1),(4,2),(4,3),(4,5),(5,1),(5,2),(5,3),(5,5),(6,1),(6,2),(6,3),(6,5),(7,1),(7,2),(7,3),(7,5),(8,1),(8,2),(8,3),(8,5),(9,1),(9,2),(9,3),(9,5),(10,1),(10,2),(10,3),(10,5),(11,1),(11,2),(11,3),(11,5),(12,1),(12,2),(12,3),(12,5),(13,1),(13,2),(13,3),(13,5),(14,1),(14,2),(14,3),(14,5),(15,1),(15,2),(15,3),(15,5),(16,1),(16,2),(16,3),(16,5),(16,6),(17,1),(17,2),(17,3),(17,5),(17,6),(18,1),(18,2),(18,3),(18,5),(18,6),(19,1),(19,2),(19,3),(19,5),(19,6),(20,1),(20,2),(20,3),(20,5),(20,6),(21,1),(21,2),(21,3),(21,5),(21,6),(22,1),(22,2),(22,3),(22,5),(22,6);
/*!40000 ALTER TABLE `claro_widget_roles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace`
--

DROP TABLE IF EXISTS `claro_workspace`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `maxStorageSize` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `maxUploadResources` int(11) NOT NULL,
  `maxUsers` int(11) NOT NULL,
  `displayable` tinyint(1) NOT NULL,
  `guid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `self_registration` tinyint(1) NOT NULL,
  `registration_validation` tinyint(1) NOT NULL,
  `self_unregistration` tinyint(1) NOT NULL,
  `creation_date` int(11) DEFAULT NULL,
  `is_personal` tinyint(1) NOT NULL,
  `start_date` datetime DEFAULT NULL,
  `end_date` datetime DEFAULT NULL,
  `is_access_date` tinyint(1) NOT NULL,
  `workspace_type` int(11) DEFAULT NULL,
  `options_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D902854577153098` (`code`),
  UNIQUE KEY `UNIQ_D90285452B6FCFB2` (`guid`),
  UNIQUE KEY `UNIQ_D90285453ADB05F1` (`options_id`),
  KEY `IDX_D9028545A76ED395` (`user_id`),
  KEY `name_idx` (`name`),
  CONSTRAINT `FK_D90285453ADB05F1` FOREIGN KEY (`options_id`) REFERENCES `claro_workspace_options` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_D9028545A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace`
--

LOCK TABLES `claro_workspace` WRITE;
/*!40000 ALTER TABLE `claro_workspace` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_favourite`
--

DROP TABLE IF EXISTS `claro_workspace_favourite`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_favourite` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `workspace_favourite_unique_combination` (`workspace_id`,`user_id`),
  KEY `IDX_711A30B82D40A1F` (`workspace_id`),
  KEY `IDX_711A30BA76ED395` (`user_id`),
  CONSTRAINT `FK_711A30BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_711A30B82D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_favourite`
--

LOCK TABLES `claro_workspace_favourite` WRITE;
/*!40000 ALTER TABLE `claro_workspace_favourite` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_favourite` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_model`
--

DROP TABLE IF EXISTS `claro_workspace_model`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_model` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `workspace_model_unique_name_workspace` (`name`,`workspace_id`),
  KEY `IDX_536FFC4C82D40A1F` (`workspace_id`),
  CONSTRAINT `FK_536FFC4C82D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_model`
--

LOCK TABLES `claro_workspace_model` WRITE;
/*!40000 ALTER TABLE `claro_workspace_model` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_model` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_model_group`
--

DROP TABLE IF EXISTS `claro_workspace_model_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_model_group` (
  `group_id` int(11) NOT NULL,
  `workspacemodel_id` int(11) NOT NULL,
  PRIMARY KEY (`group_id`,`workspacemodel_id`),
  KEY `IDX_1F19A8AEFE54D947` (`group_id`),
  KEY `IDX_1F19A8AED500BD91` (`workspacemodel_id`),
  CONSTRAINT `FK_1F19A8AED500BD91` FOREIGN KEY (`workspacemodel_id`) REFERENCES `claro_workspace_model` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_1F19A8AEFE54D947` FOREIGN KEY (`group_id`) REFERENCES `claro_group` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_model_group`
--

LOCK TABLES `claro_workspace_model_group` WRITE;
/*!40000 ALTER TABLE `claro_workspace_model_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_model_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_model_home_tab`
--

DROP TABLE IF EXISTS `claro_workspace_model_home_tab`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_model_home_tab` (
  `workspacemodel_id` int(11) NOT NULL,
  `hometab_id` int(11) NOT NULL,
  PRIMARY KEY (`workspacemodel_id`,`hometab_id`),
  KEY `IDX_A8E0CB1BD500BD91` (`workspacemodel_id`),
  KEY `IDX_A8E0CB1BCCE862F` (`hometab_id`),
  CONSTRAINT `FK_A8E0CB1BCCE862F` FOREIGN KEY (`hometab_id`) REFERENCES `claro_home_tab` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_A8E0CB1BD500BD91` FOREIGN KEY (`workspacemodel_id`) REFERENCES `claro_workspace_model` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_model_home_tab`
--

LOCK TABLES `claro_workspace_model_home_tab` WRITE;
/*!40000 ALTER TABLE `claro_workspace_model_home_tab` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_model_home_tab` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_model_resource`
--

DROP TABLE IF EXISTS `claro_workspace_model_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_model_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_node_id` int(11) NOT NULL,
  `model_id` int(11) NOT NULL,
  `isCopy` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_F5D706351BAD783F` (`resource_node_id`),
  KEY `IDX_F5D706357975B7E7` (`model_id`),
  CONSTRAINT `FK_F5D706357975B7E7` FOREIGN KEY (`model_id`) REFERENCES `claro_workspace_model` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F5D706351BAD783F` FOREIGN KEY (`resource_node_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_model_resource`
--

LOCK TABLES `claro_workspace_model_resource` WRITE;
/*!40000 ALTER TABLE `claro_workspace_model_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_model_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_model_user`
--

DROP TABLE IF EXISTS `claro_workspace_model_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_model_user` (
  `user_id` int(11) NOT NULL,
  `workspacemodel_id` int(11) NOT NULL,
  PRIMARY KEY (`user_id`,`workspacemodel_id`),
  KEY `IDX_5318388FA76ED395` (`user_id`),
  KEY `IDX_5318388FD500BD91` (`workspacemodel_id`),
  CONSTRAINT `FK_5318388FD500BD91` FOREIGN KEY (`workspacemodel_id`) REFERENCES `claro_workspace_model` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_5318388FA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_model_user`
--

LOCK TABLES `claro_workspace_model_user` WRITE;
/*!40000 ALTER TABLE `claro_workspace_model_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_model_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_options`
--

DROP TABLE IF EXISTS `claro_workspace_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `workspace_id` int(11) DEFAULT NULL,
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D603AE0582D40A1F` (`workspace_id`),
  CONSTRAINT `FK_D603AE0582D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_options`
--

LOCK TABLES `claro_workspace_options` WRITE;
/*!40000 ALTER TABLE `claro_workspace_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_registration_queue`
--

DROP TABLE IF EXISTS `claro_workspace_registration_queue`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_registration_queue` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `role_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `workspace_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_role_unique` (`role_id`,`user_id`),
  KEY `IDX_F461C538D60322AC` (`role_id`),
  KEY `IDX_F461C538A76ED395` (`user_id`),
  KEY `IDX_F461C53882D40A1F` (`workspace_id`),
  CONSTRAINT `FK_F461C53882D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F461C538A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F461C538D60322AC` FOREIGN KEY (`role_id`) REFERENCES `claro_role` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_registration_queue`
--

LOCK TABLES `claro_workspace_registration_queue` WRITE;
/*!40000 ALTER TABLE `claro_workspace_registration_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_registration_queue` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_tag`
--

DROP TABLE IF EXISTS `claro_workspace_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_tag` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `workspace_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tag_unique_name_and_user` (`user_id`,`name`),
  KEY `IDX_C8EFD7EFA76ED395` (`user_id`),
  KEY `IDX_C8EFD7EF82D40A1F` (`workspace_id`),
  KEY `name_idx` (`name`),
  CONSTRAINT `FK_C8EFD7EF82D40A1F` FOREIGN KEY (`workspace_id`) REFERENCES `claro_workspace` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_C8EFD7EFA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_tag`
--

LOCK TABLES `claro_workspace_tag` WRITE;
/*!40000 ALTER TABLE `claro_workspace_tag` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `claro_workspace_tag_hierarchy`
--

DROP TABLE IF EXISTS `claro_workspace_tag_hierarchy`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `claro_workspace_tag_hierarchy` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `tag_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `level` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_A46B159EA76ED395` (`user_id`),
  KEY `IDX_A46B159EBAD26311` (`tag_id`),
  KEY `IDX_A46B159E727ACA70` (`parent_id`),
  CONSTRAINT `FK_A46B159E727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `claro_workspace_tag` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_A46B159EA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_A46B159EBAD26311` FOREIGN KEY (`tag_id`) REFERENCES `claro_workspace_tag` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `claro_workspace_tag_hierarchy`
--

LOCK TABLES `claro_workspace_tag_hierarchy` WRITE;
/*!40000 ALTER TABLE `claro_workspace_tag_hierarchy` DISABLE KEYS */;
/*!40000 ALTER TABLE `claro_workspace_tag_hierarchy` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineagendabundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineagendabundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineagendabundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineagendabundle_versions`
--

LOCK TABLES `doctrine_clarolineagendabundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineagendabundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineagendabundle_versions` VALUES ('20150429110105'),('20150430102809'),('20150827090315'),('20150909092618');
/*!40000 ALTER TABLE `doctrine_clarolineagendabundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineannouncementbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineannouncementbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineannouncementbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineannouncementbundle_versions`
--

LOCK TABLES `doctrine_clarolineannouncementbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineannouncementbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineannouncementbundle_versions` VALUES ('20130909095120'),('20140709170402'),('20161005170355');
/*!40000 ALTER TABLE `doctrine_clarolineannouncementbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinechatbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinechatbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinechatbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinechatbundle_versions`
--

LOCK TABLES `doctrine_clarolinechatbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinechatbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinechatbundle_versions` VALUES ('20160804113252');
/*!40000 ALTER TABLE `doctrine_clarolinechatbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineclacoformbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineclacoformbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineclacoformbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineclacoformbundle_versions`
--

LOCK TABLES `doctrine_clarolineclacoformbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineclacoformbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineclacoformbundle_versions` VALUES ('20161214103336'),('20170112084745');
/*!40000 ALTER TABLE `doctrine_clarolineclacoformbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinecorebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinecorebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinecorebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinecorebundle_versions`
--

LOCK TABLES `doctrine_clarolinecorebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinecorebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinecorebundle_versions` VALUES ('20150428152724'),('20150507095950'),('20150520105108'),('20150528144818'),('20150729163857'),('20150805174708'),('20150811094029'),('20150907121719'),('20150910155551'),('20151006175302'),('20151007154027'),('20151009160642'),('20151015111641'),('20151016141145'),('20151021111219'),('20160128111525'),('20160210202433'),('20160217120917'),('20160222140616'),('20160225174213'),('20160302181949'),('20160322162536'),('20160517114220'),('20160525165333'),('20160614150733'),('20160629093541'),('20160701173819'),('20160825105438'),('20160929141007'),('20161010101157'),('20161011112651'),('20161214140109');
/*!40000 ALTER TABLE `doctrine_clarolinecorebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinecursusbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinecursusbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinecursusbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinecursusbundle_versions`
--

LOCK TABLES `doctrine_clarolinecursusbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinecursusbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinecursusbundle_versions` VALUES ('20150227103604'),('20150303144334'),('20150429113219'),('20150528102713'),('20150807092127'),('20160219135325'),('20160325112454'),('20160811154524'),('20160829102237'),('20160905101805'),('20160923103206');
/*!40000 ALTER TABLE `doctrine_clarolinecursusbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinedashboardbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinedashboardbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinedashboardbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinedashboardbundle_versions`
--

LOCK TABLES `doctrine_clarolinedashboardbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinedashboardbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinedashboardbundle_versions` VALUES ('20160916160012');
/*!40000 ALTER TABLE `doctrine_clarolinedashboardbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineflashcardbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineflashcardbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineflashcardbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineflashcardbundle_versions`
--

LOCK TABLES `doctrine_clarolineflashcardbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineflashcardbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineflashcardbundle_versions` VALUES ('20160504115749'),('20161020110419'),('20161103101521'),('20161103163738');
/*!40000 ALTER TABLE `doctrine_clarolineflashcardbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineforumbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineforumbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineforumbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineforumbundle_versions`
--

LOCK TABLES `doctrine_clarolineforumbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineforumbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineforumbundle_versions` VALUES ('20130906115738'),('20131112143038'),('20131217153054'),('20140526155201'),('20140707134307'),('20140918151832'),('20141118143441'),('20150924145911'),('20160524143428');
/*!40000 ALTER TABLE `doctrine_clarolineforumbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinemessagebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinemessagebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinemessagebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinemessagebundle_versions`
--

LOCK TABLES `doctrine_clarolinemessagebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinemessagebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinemessagebundle_versions` VALUES ('20150429114010'),('20150723171850'),('20161010101329');
/*!40000 ALTER TABLE `doctrine_clarolinemessagebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinepdfgeneratorbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinepdfgeneratorbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinepdfgeneratorbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinepdfgeneratorbundle_versions`
--

LOCK TABLES `doctrine_clarolinepdfgeneratorbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinepdfgeneratorbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinepdfgeneratorbundle_versions` VALUES ('20160812112300');
/*!40000 ALTER TABLE `doctrine_clarolinepdfgeneratorbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineresultbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineresultbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineresultbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineresultbundle_versions`
--

LOCK TABLES `doctrine_clarolineresultbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineresultbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineresultbundle_versions` VALUES ('20160321100245');
/*!40000 ALTER TABLE `doctrine_clarolineresultbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinerssreaderbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinerssreaderbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinerssreaderbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinerssreaderbundle_versions`
--

LOCK TABLES `doctrine_clarolinerssreaderbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinerssreaderbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinerssreaderbundle_versions` VALUES ('20130805110005'),('20130925173308');
/*!40000 ALTER TABLE `doctrine_clarolinerssreaderbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinescormbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinescormbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinescormbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinescormbundle_versions`
--

LOCK TABLES `doctrine_clarolinescormbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinescormbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinescormbundle_versions` VALUES ('20140512112307'),('20140716170910'),('20150827171038'),('20161213092816');
/*!40000 ALTER TABLE `doctrine_clarolinescormbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinesurveybundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinesurveybundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinesurveybundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinesurveybundle_versions`
--

LOCK TABLES `doctrine_clarolinesurveybundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinesurveybundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinesurveybundle_versions` VALUES ('20140901163542'),('20150707094739'),('20160906142510');
/*!40000 ALTER TABLE `doctrine_clarolinesurveybundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinetagbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinetagbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinetagbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinetagbundle_versions`
--

LOCK TABLES `doctrine_clarolinetagbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinetagbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinetagbundle_versions` VALUES ('20150924123848');
/*!40000 ALTER TABLE `doctrine_clarolinetagbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolineteambundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolineteambundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolineteambundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolineteambundle_versions`
--

LOCK TABLES `doctrine_clarolineteambundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolineteambundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolineteambundle_versions` VALUES ('20141007174443');
/*!40000 ALTER TABLE `doctrine_clarolineteambundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_clarolinevideoplayerbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_clarolinevideoplayerbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_clarolinevideoplayerbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_clarolinevideoplayerbundle_versions`
--

LOCK TABLES `doctrine_clarolinevideoplayerbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_clarolinevideoplayerbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_clarolinevideoplayerbundle_versions` VALUES ('20160524121348');
/*!40000 ALTER TABLE `doctrine_clarolinevideoplayerbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_formalibrepresencebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_formalibrepresencebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_formalibrepresencebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_formalibrepresencebundle_versions`
--

LOCK TABLES `doctrine_formalibrepresencebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_formalibrepresencebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_formalibrepresencebundle_versions` VALUES ('20150911172936'),('20151013161529');
/*!40000 ALTER TABLE `doctrine_formalibrepresencebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_formalibrereservationbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_formalibrereservationbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_formalibrereservationbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_formalibrereservationbundle_versions`
--

LOCK TABLES `doctrine_formalibrereservationbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_formalibrereservationbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_formalibrereservationbundle_versions` VALUES ('20150908094114');
/*!40000 ALTER TABLE `doctrine_formalibrereservationbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_formalibresupportbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_formalibresupportbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_formalibresupportbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_formalibresupportbundle_versions`
--

LOCK TABLES `doctrine_formalibresupportbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_formalibresupportbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_formalibresupportbundle_versions` VALUES ('20150729105239');
/*!40000 ALTER TABLE `doctrine_formalibresupportbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_hevincicompetencybundle_versions`
--

DROP TABLE IF EXISTS `doctrine_hevincicompetencybundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_hevincicompetencybundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_hevincicompetencybundle_versions`
--

LOCK TABLES `doctrine_hevincicompetencybundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_hevincicompetencybundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_hevincicompetencybundle_versions` VALUES ('20150317150802'),('20150430113442'),('20150521162342'),('20150824165947');
/*!40000 ALTER TABLE `doctrine_hevincicompetencybundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_hevincifavouritebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_hevincifavouritebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_hevincifavouritebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_hevincifavouritebundle_versions`
--

LOCK TABLES `doctrine_hevincifavouritebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_hevincifavouritebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_hevincifavouritebundle_versions` VALUES ('20150401143404'),('20150420135837');
/*!40000 ALTER TABLE `doctrine_hevincifavouritebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_hevinciurlbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_hevinciurlbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_hevinciurlbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_hevinciurlbundle_versions`
--

LOCK TABLES `doctrine_hevinciurlbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_hevinciurlbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_hevinciurlbundle_versions` VALUES ('20150324141653'),('20150326112755');
/*!40000 ALTER TABLE `doctrine_hevinciurlbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapbadgebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapbadgebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapbadgebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapbadgebundle_versions`
--

LOCK TABLES `doctrine_icapbadgebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapbadgebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapbadgebundle_versions` VALUES ('20150506091116'),('20150911145838'),('20150929141509'),('20160119173531');
/*!40000 ALTER TABLE `doctrine_icapbadgebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapblogbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapblogbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapblogbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapblogbundle_versions`
--

LOCK TABLES `doctrine_icapblogbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapblogbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapblogbundle_versions` VALUES ('20130820133717'),('20131107161234'),('20131113113444'),('20131115104001'),('20140520101504'),('20140521085530'),('20140905171642'),('20140908154749'),('20141201164119'),('20150107170504'),('20150220150632'),('20150415125227'),('20150612110539'),('20150910095500'),('20150916163456');
/*!40000 ALTER TABLE `doctrine_icapblogbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapdropzonebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapdropzonebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapdropzonebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapdropzonebundle_versions`
--

LOCK TABLES `doctrine_icapdropzonebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapdropzonebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapdropzonebundle_versions` VALUES ('20130927143036'),('20140319130229'),('20140326083044'),('20140326083554'),('20140402131254'),('20140407074633'),('20140520123452'),('20140522071801'),('20140602090326'),('20140715144900'),('20140926131620');
/*!40000 ALTER TABLE `doctrine_icapdropzonebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icaplessonbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icaplessonbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icaplessonbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icaplessonbundle_versions`
--

LOCK TABLES `doctrine_icaplessonbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icaplessonbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icaplessonbundle_versions` VALUES ('20130923155308'),('20131030165411'),('20131113154806'),('20131113190717'),('20160113122054');
/*!40000 ALTER TABLE `doctrine_icaplessonbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapnotificationbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapnotificationbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapnotificationbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapnotificationbundle_versions`
--

LOCK TABLES `doctrine_icapnotificationbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapnotificationbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapnotificationbundle_versions` VALUES ('20140128085626'),('20150409150013'),('20150414153912'),('20161010101357');
/*!40000 ALTER TABLE `doctrine_icapnotificationbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapoauthbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapoauthbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapoauthbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapoauthbundle_versions`
--

LOCK TABLES `doctrine_icapoauthbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapoauthbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapoauthbundle_versions` VALUES ('20150709133254'),('20150709150946');
/*!40000 ALTER TABLE `doctrine_icapoauthbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapportfoliobundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapportfoliobundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapportfoliobundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapportfoliobundle_versions`
--

LOCK TABLES `doctrine_icapportfoliobundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapportfoliobundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapportfoliobundle_versions` VALUES ('20140716110911'),('20141031165140'),('20150203105612'),('20150216113033'),('20150409105732'),('20150413152543'),('20150413165837'),('20150630100700'),('20150825171151');
/*!40000 ALTER TABLE `doctrine_icapportfoliobundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapsocialmediabundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapsocialmediabundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapsocialmediabundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapsocialmediabundle_versions`
--

LOCK TABLES `doctrine_icapsocialmediabundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapsocialmediabundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapsocialmediabundle_versions` VALUES ('20150427170011'),('20150506111907');
/*!40000 ALTER TABLE `doctrine_icapsocialmediabundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapwebsitebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapwebsitebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapwebsitebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapwebsitebundle_versions`
--

LOCK TABLES `doctrine_icapwebsitebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapwebsitebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapwebsitebundle_versions` VALUES ('20140707151913'),('20140901154751'),('20140902134256'),('20140902163052'),('20140909095019'),('20140923153358'),('20141014171722'),('20141209152238'),('20141209161930'),('20150313153209'),('20150701152135'),('20160419101930');
/*!40000 ALTER TABLE `doctrine_icapwebsitebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_icapwikibundle_versions`
--

DROP TABLE IF EXISTS `doctrine_icapwikibundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_icapwikibundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_icapwikibundle_versions`
--

LOCK TABLES `doctrine_icapwikibundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_icapwikibundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_icapwikibundle_versions` VALUES ('20131003164704'),('20131028142219'),('20131031085945'),('20131104140647'),('20150904175048'),('20170130142846');
/*!40000 ALTER TABLE `doctrine_icapwikibundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_innovaaudiorecorderbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_innovaaudiorecorderbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_innovaaudiorecorderbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_innovaaudiorecorderbundle_versions`
--

LOCK TABLES `doctrine_innovaaudiorecorderbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_innovaaudiorecorderbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_innovaaudiorecorderbundle_versions` VALUES ('20160330115013');
/*!40000 ALTER TABLE `doctrine_innovaaudiorecorderbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_innovacollecticielbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_innovacollecticielbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_innovacollecticielbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_innovacollecticielbundle_versions`
--

LOCK TABLES `doctrine_innovacollecticielbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_innovacollecticielbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_innovacollecticielbundle_versions` VALUES ('20160113152537'),('20160429112134'),('20160512160118'),('20160526103805'),('20160601103914'),('20160613091211'),('20160614173913'),('20160615115202'),('20160623113642'),('20160624135648');
/*!40000 ALTER TABLE `doctrine_innovacollecticielbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_innovamediaresourcebundle_versions`
--

DROP TABLE IF EXISTS `doctrine_innovamediaresourcebundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_innovamediaresourcebundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_innovamediaresourcebundle_versions`
--

LOCK TABLES `doctrine_innovamediaresourcebundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_innovamediaresourcebundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_innovamediaresourcebundle_versions` VALUES ('20160621112001');
/*!40000 ALTER TABLE `doctrine_innovamediaresourcebundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_innovapathbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_innovapathbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_innovapathbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_innovapathbundle_versions`
--

LOCK TABLES `doctrine_innovapathbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_innovapathbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_innovapathbundle_versions` VALUES ('20150520093240'),('20150604114657'),('20150612100621'),('20150821091841'),('20150908153520'),('20150909175452'),('20151015102813'),('20160108093121'),('20160111125236'),('20160201090451'),('20160517175314'),('20160606160650'),('20161017161733');
/*!40000 ALTER TABLE `doctrine_innovapathbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_innovavideorecorderbundle_versions`
--

DROP TABLE IF EXISTS `doctrine_innovavideorecorderbundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_innovavideorecorderbundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_innovavideorecorderbundle_versions`
--

LOCK TABLES `doctrine_innovavideorecorderbundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_innovavideorecorderbundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_innovavideorecorderbundle_versions` VALUES ('20160404132931');
/*!40000 ALTER TABLE `doctrine_innovavideorecorderbundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctrine_ujmexobundle_versions`
--

DROP TABLE IF EXISTS `doctrine_ujmexobundle_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctrine_ujmexobundle_versions` (
  `version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctrine_ujmexobundle_versions`
--

LOCK TABLES `doctrine_ujmexobundle_versions` WRITE;
/*!40000 ALTER TABLE `doctrine_ujmexobundle_versions` DISABLE KEYS */;
INSERT INTO `doctrine_ujmexobundle_versions` VALUES ('20150923181250'),('20160121095840'),('20160204152921'),('20160208170151'),('20160325100549'),('20160521073423'),('20160522074135'),('20160525113210'),('20160526152914'),('20160824103348'),('20160901163804'),('20160906134001'),('20160928103948'),('20160929103152'),('20161004215152'),('20161009100906'),('20161009192957'),('20161010174239'),('20161010214401'),('20161102120915'),('20161118100602'),('20161120095146'),('20161123131857'),('20161124151551'),('20161128104517'),('20161130082133'),('20161213074630'),('20161219164337'),('20161220140457'),('20170104182145'),('20170104203421'),('20170105150732'),('20170109075113'),('20170111135100'),('20170113075433'),('20170113122419'),('20170113124810'),('20170118143154'),('20170118143155'),('20170120131422'),('20170120150009'),('20170123050000'),('20170123160000'),('20170131184412');
/*!40000 ALTER TABLE `doctrine_ujmexobundle_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_presencebundle_period`
--

DROP TABLE IF EXISTS `formalibre_presencebundle_period`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_presencebundle_period` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `num_period` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `school_date` date NOT NULL,
  `school_day` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `begin_hour` time NOT NULL,
  `end_hour` time NOT NULL,
  `visibility` tinyint(1) NOT NULL,
  `schoolYear_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_4E4AE7C08BF32374` (`schoolYear_id`),
  CONSTRAINT `FK_4E4AE7C08BF32374` FOREIGN KEY (`schoolYear_id`) REFERENCES `formalibre_presencebundle_schoolYear` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_presencebundle_period`
--

LOCK TABLES `formalibre_presencebundle_period` WRITE;
/*!40000 ALTER TABLE `formalibre_presencebundle_period` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_presencebundle_period` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_presencebundle_presence`
--

DROP TABLE IF EXISTS `formalibre_presencebundle_presence`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_presencebundle_presence` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `status_id` int(11) DEFAULT NULL,
  `user_teacher_id` int(11) DEFAULT NULL,
  `user_student_id` int(11) DEFAULT NULL,
  `period_id` int(11) DEFAULT NULL,
  `course_session` int(11) DEFAULT NULL,
  `date` date NOT NULL,
  `Comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_33952B616BF700BD` (`status_id`),
  KEY `IDX_33952B61E6E7B8F1` (`user_teacher_id`),
  KEY `IDX_33952B616CF389F6` (`user_student_id`),
  KEY `IDX_33952B61EC8B7ADE` (`period_id`),
  KEY `IDX_33952B61D887D038` (`course_session`),
  CONSTRAINT `FK_33952B61D887D038` FOREIGN KEY (`course_session`) REFERENCES `claro_cursusbundle_course_session` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_33952B616BF700BD` FOREIGN KEY (`status_id`) REFERENCES `formalibre_presencebundle_status` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_33952B616CF389F6` FOREIGN KEY (`user_student_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_33952B61E6E7B8F1` FOREIGN KEY (`user_teacher_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_33952B61EC8B7ADE` FOREIGN KEY (`period_id`) REFERENCES `formalibre_presencebundle_period` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_presencebundle_presence`
--

LOCK TABLES `formalibre_presencebundle_presence` WRITE;
/*!40000 ALTER TABLE `formalibre_presencebundle_presence` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_presencebundle_presence` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_presencebundle_rights`
--

DROP TABLE IF EXISTS `formalibre_presencebundle_rights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_presencebundle_rights` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `role_id` int(11) DEFAULT NULL,
  `mask` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_8A92280DD60322AC` (`role_id`),
  CONSTRAINT `FK_8A92280DD60322AC` FOREIGN KEY (`role_id`) REFERENCES `claro_role` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_presencebundle_rights`
--

LOCK TABLES `formalibre_presencebundle_rights` WRITE;
/*!40000 ALTER TABLE `formalibre_presencebundle_rights` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_presencebundle_rights` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_presencebundle_schoolYear`
--

DROP TABLE IF EXISTS `formalibre_presencebundle_schoolYear`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_presencebundle_schoolYear` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `schoolYearName` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `schoolYear_begin` date NOT NULL,
  `schoolYear_end` date NOT NULL,
  `schoolDay_begin_hour` time NOT NULL,
  `schoolDay_end_hour` time NOT NULL,
  `schoolYearActual` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_presencebundle_schoolYear`
--

LOCK TABLES `formalibre_presencebundle_schoolYear` WRITE;
/*!40000 ALTER TABLE `formalibre_presencebundle_schoolYear` DISABLE KEYS */;
INSERT INTO `formalibre_presencebundle_schoolYear` VALUES (1,'2016-2017','2016-09-01','2017-06-30','07:00:00','17:00:00',1);
/*!40000 ALTER TABLE `formalibre_presencebundle_schoolYear` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_presencebundle_status`
--

DROP TABLE IF EXISTS `formalibre_presencebundle_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_presencebundle_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `statusName` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `statusColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `statusByDefault` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_presencebundle_status`
--

LOCK TABLES `formalibre_presencebundle_status` WRITE;
/*!40000 ALTER TABLE `formalibre_presencebundle_status` DISABLE KEYS */;
INSERT INTO `formalibre_presencebundle_status` VALUES (1,'Présent','#0fef40',1),(2,'Absent','#f20000',1),(3,'Retard','#ffb31f',1);
/*!40000 ALTER TABLE `formalibre_presencebundle_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_reservation`
--

DROP TABLE IF EXISTS `formalibre_reservation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_reservation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource` int(11) NOT NULL,
  `event_id` int(11) NOT NULL,
  `comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_modification` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_71058F7071F7E88B` (`event_id`),
  KEY `IDX_71058F70BC91F416` (`resource`),
  CONSTRAINT `FK_71058F7071F7E88B` FOREIGN KEY (`event_id`) REFERENCES `claro_event` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_71058F70BC91F416` FOREIGN KEY (`resource`) REFERENCES `formalibre_reservation_resource` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_reservation`
--

LOCK TABLES `formalibre_reservation` WRITE;
/*!40000 ALTER TABLE `formalibre_reservation` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_reservation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_reservation_resource`
--

DROP TABLE IF EXISTS `formalibre_reservation_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_reservation_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_type` int(11) NOT NULL,
  `name` longtext COLLATE utf8_unicode_ci NOT NULL,
  `max_time_reservation` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `localisation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_7AAF141683FEF793` (`resource_type`),
  CONSTRAINT `FK_7AAF141683FEF793` FOREIGN KEY (`resource_type`) REFERENCES `formalibre_reservation_resource_type` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_reservation_resource`
--

LOCK TABLES `formalibre_reservation_resource` WRITE;
/*!40000 ALTER TABLE `formalibre_reservation_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_reservation_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_reservation_resource_rights`
--

DROP TABLE IF EXISTS `formalibre_reservation_resource_rights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_reservation_resource_rights` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  `mask` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_92EF974689329D25` (`resource_id`),
  KEY `IDX_92EF9746D60322AC` (`role_id`),
  CONSTRAINT `FK_92EF9746D60322AC` FOREIGN KEY (`role_id`) REFERENCES `claro_role` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_92EF974689329D25` FOREIGN KEY (`resource_id`) REFERENCES `formalibre_reservation_resource` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_reservation_resource_rights`
--

LOCK TABLES `formalibre_reservation_resource_rights` WRITE;
/*!40000 ALTER TABLE `formalibre_reservation_resource_rights` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_reservation_resource_rights` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_reservation_resource_type`
--

DROP TABLE IF EXISTS `formalibre_reservation_resource_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_reservation_resource_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_reservation_resource_type`
--

LOCK TABLES `formalibre_reservation_resource_type` WRITE;
/*!40000 ALTER TABLE `formalibre_reservation_resource_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_reservation_resource_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_comment`
--

DROP TABLE IF EXISTS `formalibre_support_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_comment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `ticket_id` int(11) DEFAULT NULL,
  `content` longtext COLLATE utf8_unicode_ci NOT NULL,
  `creation_date` datetime NOT NULL,
  `edition_date` datetime DEFAULT NULL,
  `is_admin` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_EA0B277BA76ED395` (`user_id`),
  KEY `IDX_EA0B277B700047D2` (`ticket_id`),
  CONSTRAINT `FK_EA0B277B700047D2` FOREIGN KEY (`ticket_id`) REFERENCES `formalibre_support_ticket` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EA0B277BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_comment`
--

LOCK TABLES `formalibre_support_comment` WRITE;
/*!40000 ALTER TABLE `formalibre_support_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_support_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_configuration`
--

DROP TABLE IF EXISTS `formalibre_support_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_configuration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_configuration`
--

LOCK TABLES `formalibre_support_configuration` WRITE;
/*!40000 ALTER TABLE `formalibre_support_configuration` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_support_configuration` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_intervention`
--

DROP TABLE IF EXISTS `formalibre_support_intervention`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_intervention` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `ticket_id` int(11) DEFAULT NULL,
  `status_id` int(11) DEFAULT NULL,
  `start_date` datetime DEFAULT NULL,
  `end_date` datetime DEFAULT NULL,
  `duration` int(11) DEFAULT NULL,
  `externalComment` longtext COLLATE utf8_unicode_ci,
  `internalComment` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_B1287482A76ED395` (`user_id`),
  KEY `IDX_B1287482700047D2` (`ticket_id`),
  KEY `IDX_B12874826BF700BD` (`status_id`),
  CONSTRAINT `FK_B12874826BF700BD` FOREIGN KEY (`status_id`) REFERENCES `formalibre_support_status` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_B1287482700047D2` FOREIGN KEY (`ticket_id`) REFERENCES `formalibre_support_ticket` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B1287482A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_intervention`
--

LOCK TABLES `formalibre_support_intervention` WRITE;
/*!40000 ALTER TABLE `formalibre_support_intervention` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_support_intervention` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_status`
--

DROP TABLE IF EXISTS `formalibre_support_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `status_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `status_order` int(11) NOT NULL,
  `status_type` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_B509CF116625D392` (`status_name`),
  UNIQUE KEY `UNIQ_B509CF1177153098` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_status`
--

LOCK TABLES `formalibre_support_status` WRITE;
/*!40000 ALTER TABLE `formalibre_support_status` DISABLE KEYS */;
INSERT INTO `formalibre_support_status` VALUES (1,'status_pc','PC',1,1),(2,'status_an','AN',2,0),(3,'status_cc','CC',3,0),(4,'status_pr','PR',4,0),(5,'status_ac','AC',5,0),(6,'status_et','ET',6,0),(7,'status_fa','FA',7,2);
/*!40000 ALTER TABLE `formalibre_support_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_ticket`
--

DROP TABLE IF EXISTS `formalibre_support_ticket`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_ticket` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `type_id` int(11) DEFAULT NULL,
  `status_id` int(11) DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `contact_mail` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `contact_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `creation_date` datetime NOT NULL,
  `num` int(11) NOT NULL,
  `level` int(11) NOT NULL,
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`),
  KEY `IDX_59A907AEA76ED395` (`user_id`),
  KEY `IDX_59A907AEC54C8C93` (`type_id`),
  KEY `IDX_59A907AE6BF700BD` (`status_id`),
  CONSTRAINT `FK_59A907AE6BF700BD` FOREIGN KEY (`status_id`) REFERENCES `formalibre_support_status` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_59A907AEA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_59A907AEC54C8C93` FOREIGN KEY (`type_id`) REFERENCES `formalibre_support_type` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_ticket`
--

LOCK TABLES `formalibre_support_ticket` WRITE;
/*!40000 ALTER TABLE `formalibre_support_ticket` DISABLE KEYS */;
/*!40000 ALTER TABLE `formalibre_support_ticket` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `formalibre_support_type`
--

DROP TABLE IF EXISTS `formalibre_support_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `formalibre_support_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_1FFFD8FB892CBB0E` (`type_name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `formalibre_support_type`
--

LOCK TABLES `formalibre_support_type` WRITE;
/*!40000 ALTER TABLE `formalibre_support_type` DISABLE KEYS */;
INSERT INTO `formalibre_support_type` VALUES (1,'functional'),(2,'technical');
/*!40000 ALTER TABLE `formalibre_support_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `group_organization`
--

DROP TABLE IF EXISTS `group_organization`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `group_organization` (
  `group_id` int(11) NOT NULL,
  `organization_id` int(11) NOT NULL,
  PRIMARY KEY (`group_id`,`organization_id`),
  KEY `IDX_2DA82945FE54D947` (`group_id`),
  KEY `IDX_2DA8294532C8A3DE` (`organization_id`),
  CONSTRAINT `FK_2DA8294532C8A3DE` FOREIGN KEY (`organization_id`) REFERENCES `claro__organization` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_2DA82945FE54D947` FOREIGN KEY (`group_id`) REFERENCES `claro_group` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `group_organization`
--

LOCK TABLES `group_organization` WRITE;
/*!40000 ALTER TABLE `group_organization` DISABLE KEYS */;
/*!40000 ALTER TABLE `group_organization` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_ability`
--

DROP TABLE IF EXISTS `hevinci_ability`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_ability` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `minActivityCount` int(11) NOT NULL,
  `activityCount` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_11E77B9D5E237E06` (`name`(200))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_ability`
--

LOCK TABLES `hevinci_ability` WRITE;
/*!40000 ALTER TABLE `hevinci_ability` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_ability` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_ability_activity`
--

DROP TABLE IF EXISTS `hevinci_ability_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_ability_activity` (
  `ability_id` int(11) NOT NULL,
  `activity_id` int(11) NOT NULL,
  PRIMARY KEY (`ability_id`,`activity_id`),
  KEY `IDX_46D92D328016D8B2` (`ability_id`),
  KEY `IDX_46D92D3281C06096` (`activity_id`),
  CONSTRAINT `FK_46D92D3281C06096` FOREIGN KEY (`activity_id`) REFERENCES `claro_activity` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_46D92D328016D8B2` FOREIGN KEY (`ability_id`) REFERENCES `hevinci_ability` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_ability_activity`
--

LOCK TABLES `hevinci_ability_activity` WRITE;
/*!40000 ALTER TABLE `hevinci_ability_activity` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_ability_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_ability_progress`
--

DROP TABLE IF EXISTS `hevinci_ability_progress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_ability_progress` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ability_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `passed_activity_ids` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:simple_array)',
  `passed_activity_count` int(11) NOT NULL,
  `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ability_name` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_C8ACD62E8016D8B2` (`ability_id`),
  KEY `IDX_C8ACD62EA76ED395` (`user_id`),
  CONSTRAINT `FK_C8ACD62E8016D8B2` FOREIGN KEY (`ability_id`) REFERENCES `hevinci_ability` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_C8ACD62EA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_ability_progress`
--

LOCK TABLES `hevinci_ability_progress` WRITE;
/*!40000 ALTER TABLE `hevinci_ability_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_ability_progress` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_competency`
--

DROP TABLE IF EXISTS `hevinci_competency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_competency` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `scale_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `name` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `activityCount` int(11) NOT NULL,
  `lft` int(11) NOT NULL,
  `lvl` int(11) NOT NULL,
  `rgt` int(11) NOT NULL,
  `root` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_61ECD5E6F73142C2` (`scale_id`),
  KEY `IDX_61ECD5E6727ACA70` (`parent_id`),
  CONSTRAINT `FK_61ECD5E6727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_61ECD5E6F73142C2` FOREIGN KEY (`scale_id`) REFERENCES `hevinci_scale` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_competency`
--

LOCK TABLES `hevinci_competency` WRITE;
/*!40000 ALTER TABLE `hevinci_competency` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_competency` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_competency_ability`
--

DROP TABLE IF EXISTS `hevinci_competency_ability`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_competency_ability` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `competency_id` int(11) NOT NULL,
  `ability_id` int(11) NOT NULL,
  `level_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_38178A41FB9F58C` (`competency_id`),
  KEY `IDX_38178A418016D8B2` (`ability_id`),
  KEY `IDX_38178A415FB14BA7` (`level_id`),
  CONSTRAINT `FK_38178A415FB14BA7` FOREIGN KEY (`level_id`) REFERENCES `hevinci_level` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_38178A418016D8B2` FOREIGN KEY (`ability_id`) REFERENCES `hevinci_ability` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_38178A41FB9F58C` FOREIGN KEY (`competency_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_competency_ability`
--

LOCK TABLES `hevinci_competency_ability` WRITE;
/*!40000 ALTER TABLE `hevinci_competency_ability` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_competency_ability` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_competency_activity`
--

DROP TABLE IF EXISTS `hevinci_competency_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_competency_activity` (
  `competency_id` int(11) NOT NULL,
  `activity_id` int(11) NOT NULL,
  PRIMARY KEY (`competency_id`,`activity_id`),
  KEY `IDX_82CDDCBFFB9F58C` (`competency_id`),
  KEY `IDX_82CDDCBF81C06096` (`activity_id`),
  CONSTRAINT `FK_82CDDCBF81C06096` FOREIGN KEY (`activity_id`) REFERENCES `claro_activity` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_82CDDCBFFB9F58C` FOREIGN KEY (`competency_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_competency_activity`
--

LOCK TABLES `hevinci_competency_activity` WRITE;
/*!40000 ALTER TABLE `hevinci_competency_activity` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_competency_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_competency_progress`
--

DROP TABLE IF EXISTS `hevinci_competency_progress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_competency_progress` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `competency_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `level_id` int(11) DEFAULT NULL,
  `competency_name` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `level_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_CB827A3FB9F58C` (`competency_id`),
  KEY `IDX_CB827A3A76ED395` (`user_id`),
  KEY `IDX_CB827A35FB14BA7` (`level_id`),
  CONSTRAINT `FK_CB827A35FB14BA7` FOREIGN KEY (`level_id`) REFERENCES `hevinci_level` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_CB827A3A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_CB827A3FB9F58C` FOREIGN KEY (`competency_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_competency_progress`
--

LOCK TABLES `hevinci_competency_progress` WRITE;
/*!40000 ALTER TABLE `hevinci_competency_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_competency_progress` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_competency_progress_log`
--

DROP TABLE IF EXISTS `hevinci_competency_progress_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_competency_progress_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `competency_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `level_id` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `competency_name` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `level_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_8522FF2AFB9F58C` (`competency_id`),
  KEY `IDX_8522FF2AA76ED395` (`user_id`),
  KEY `IDX_8522FF2A5FB14BA7` (`level_id`),
  CONSTRAINT `FK_8522FF2A5FB14BA7` FOREIGN KEY (`level_id`) REFERENCES `hevinci_level` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_8522FF2AA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_8522FF2AFB9F58C` FOREIGN KEY (`competency_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_competency_progress_log`
--

LOCK TABLES `hevinci_competency_progress_log` WRITE;
/*!40000 ALTER TABLE `hevinci_competency_progress_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_competency_progress_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_favourite`
--

DROP TABLE IF EXISTS `hevinci_favourite`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_favourite` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `resource_node_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_55DB0452A76ED3951BAD783F` (`user_id`,`resource_node_id`),
  KEY `IDX_55DB0452A76ED395` (`user_id`),
  KEY `IDX_55DB04521BAD783F` (`resource_node_id`),
  CONSTRAINT `FK_55DB04521BAD783F` FOREIGN KEY (`resource_node_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_55DB0452A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_favourite`
--

LOCK TABLES `hevinci_favourite` WRITE;
/*!40000 ALTER TABLE `hevinci_favourite` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_favourite` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_learning_objective`
--

DROP TABLE IF EXISTS `hevinci_learning_objective`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_learning_objective` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_10D9D6545E237E06` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_learning_objective`
--

LOCK TABLES `hevinci_learning_objective` WRITE;
/*!40000 ALTER TABLE `hevinci_learning_objective` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_learning_objective` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_level`
--

DROP TABLE IF EXISTS `hevinci_level`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_level` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `scale_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `value` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_A5EB96D7F73142C2` (`scale_id`),
  CONSTRAINT `FK_A5EB96D7F73142C2` FOREIGN KEY (`scale_id`) REFERENCES `hevinci_scale` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_level`
--

LOCK TABLES `hevinci_level` WRITE;
/*!40000 ALTER TABLE `hevinci_level` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_level` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_objective_competency`
--

DROP TABLE IF EXISTS `hevinci_objective_competency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_objective_competency` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `objective_id` int(11) NOT NULL,
  `competency_id` int(11) NOT NULL,
  `level_id` int(11) NOT NULL,
  `framework_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_EDBF854473484933` (`objective_id`),
  KEY `IDX_EDBF8544FB9F58C` (`competency_id`),
  KEY `IDX_EDBF85445FB14BA7` (`level_id`),
  KEY `IDX_EDBF854437AECF72` (`framework_id`),
  CONSTRAINT `FK_EDBF854437AECF72` FOREIGN KEY (`framework_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EDBF85445FB14BA7` FOREIGN KEY (`level_id`) REFERENCES `hevinci_level` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EDBF854473484933` FOREIGN KEY (`objective_id`) REFERENCES `hevinci_learning_objective` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EDBF8544FB9F58C` FOREIGN KEY (`competency_id`) REFERENCES `hevinci_competency` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_objective_competency`
--

LOCK TABLES `hevinci_objective_competency` WRITE;
/*!40000 ALTER TABLE `hevinci_objective_competency` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_objective_competency` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_objective_group`
--

DROP TABLE IF EXISTS `hevinci_objective_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_objective_group` (
  `objective_id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  PRIMARY KEY (`objective_id`,`group_id`),
  KEY `IDX_FFDC9E073484933` (`objective_id`),
  KEY `IDX_FFDC9E0FE54D947` (`group_id`),
  CONSTRAINT `FK_FFDC9E0FE54D947` FOREIGN KEY (`group_id`) REFERENCES `claro_group` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_FFDC9E073484933` FOREIGN KEY (`objective_id`) REFERENCES `hevinci_learning_objective` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_objective_group`
--

LOCK TABLES `hevinci_objective_group` WRITE;
/*!40000 ALTER TABLE `hevinci_objective_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_objective_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_objective_progress`
--

DROP TABLE IF EXISTS `hevinci_objective_progress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_objective_progress` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `objective_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `objective_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_CAC2DC3873484933` (`objective_id`),
  KEY `IDX_CAC2DC38A76ED395` (`user_id`),
  CONSTRAINT `FK_CAC2DC38A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_CAC2DC3873484933` FOREIGN KEY (`objective_id`) REFERENCES `hevinci_learning_objective` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_objective_progress`
--

LOCK TABLES `hevinci_objective_progress` WRITE;
/*!40000 ALTER TABLE `hevinci_objective_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_objective_progress` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_objective_progress_log`
--

DROP TABLE IF EXISTS `hevinci_objective_progress_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_objective_progress_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `objective_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `objective_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_F125F34773484933` (`objective_id`),
  KEY `IDX_F125F347A76ED395` (`user_id`),
  CONSTRAINT `FK_F125F347A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_F125F34773484933` FOREIGN KEY (`objective_id`) REFERENCES `hevinci_learning_objective` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_objective_progress_log`
--

LOCK TABLES `hevinci_objective_progress_log` WRITE;
/*!40000 ALTER TABLE `hevinci_objective_progress_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_objective_progress_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_objective_user`
--

DROP TABLE IF EXISTS `hevinci_objective_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_objective_user` (
  `objective_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`objective_id`,`user_id`),
  KEY `IDX_6D032C1573484933` (`objective_id`),
  KEY `IDX_6D032C15A76ED395` (`user_id`),
  CONSTRAINT `FK_6D032C15A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_6D032C1573484933` FOREIGN KEY (`objective_id`) REFERENCES `hevinci_learning_objective` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_objective_user`
--

LOCK TABLES `hevinci_objective_user` WRITE;
/*!40000 ALTER TABLE `hevinci_objective_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_objective_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_scale`
--

DROP TABLE IF EXISTS `hevinci_scale`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_scale` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D3477F405E237E06` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_scale`
--

LOCK TABLES `hevinci_scale` WRITE;
/*!40000 ALTER TABLE `hevinci_scale` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_scale` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_url`
--

DROP TABLE IF EXISTS `hevinci_url`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_url` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `internal_url` tinyint(1) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_A3D1D452B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_A3D1D452B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_url`
--

LOCK TABLES `hevinci_url` WRITE;
/*!40000 ALTER TABLE `hevinci_url` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_url` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_user_progress`
--

DROP TABLE IF EXISTS `hevinci_user_progress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_user_progress` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_53E81580A76ED395` (`user_id`),
  CONSTRAINT `FK_53E81580A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_user_progress`
--

LOCK TABLES `hevinci_user_progress` WRITE;
/*!40000 ALTER TABLE `hevinci_user_progress` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_user_progress` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hevinci_user_progress_log`
--

DROP TABLE IF EXISTS `hevinci_user_progress_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hevinci_user_progress_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `percentage` int(11) NOT NULL,
  `user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_5125DF35A76ED395` (`user_id`),
  CONSTRAINT `FK_5125DF35A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hevinci_user_progress_log`
--

LOCK TABLES `hevinci_user_progress_log` WRITE;
/*!40000 ALTER TABLE `hevinci_user_progress_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `hevinci_user_progress_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog`
--

DROP TABLE IF EXISTS `icap__blog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `infos` longtext COLLATE utf8_unicode_ci,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_FD75E6C4B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_FD75E6C4B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog`
--

LOCK TABLES `icap__blog` WRITE;
/*!40000 ALTER TABLE `icap__blog` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_comment`
--

DROP TABLE IF EXISTS `icap__blog_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_comment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `post_id` int(11) DEFAULT NULL,
  `message` longtext COLLATE utf8_unicode_ci NOT NULL,
  `creation_date` datetime NOT NULL,
  `publication_date` datetime DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  `update_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_95EB616FA76ED395` (`user_id`),
  KEY `IDX_95EB616F4B89032C` (`post_id`),
  CONSTRAINT `FK_95EB616F4B89032C` FOREIGN KEY (`post_id`) REFERENCES `icap__blog_post` (`id`),
  CONSTRAINT `FK_95EB616FA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_comment`
--

LOCK TABLES `icap__blog_comment` WRITE;
/*!40000 ALTER TABLE `icap__blog_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_options`
--

DROP TABLE IF EXISTS `icap__blog_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `blog_id` int(11) DEFAULT NULL,
  `authorize_comment` tinyint(1) NOT NULL,
  `authorize_anonymous_comment` tinyint(1) NOT NULL,
  `post_per_page` smallint(6) NOT NULL,
  `auto_publish_post` tinyint(1) NOT NULL,
  `auto_publish_comment` tinyint(1) NOT NULL,
  `display_title` tinyint(1) NOT NULL,
  `banner_activate` tinyint(1) NOT NULL,
  `banner_background_color` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `banner_height` smallint(6) NOT NULL,
  `banner_background_image` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `banner_background_image_position` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `banner_background_image_repeat` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `tag_cloud` smallint(6) DEFAULT NULL,
  `display_post_view_counter` tinyint(1) NOT NULL DEFAULT '1',
  `display_list_widget_blog_right` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '01112131415161',
  `tag_top_mode` tinyint(1) NOT NULL,
  `max_tag` smallint(6) NOT NULL DEFAULT '50',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D1AAC984DAE07E97` (`blog_id`),
  CONSTRAINT `FK_D1AAC984DAE07E97` FOREIGN KEY (`blog_id`) REFERENCES `icap__blog` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_options`
--

LOCK TABLES `icap__blog_options` WRITE;
/*!40000 ALTER TABLE `icap__blog_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_post`
--

DROP TABLE IF EXISTS `icap__blog_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_post` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `blog_id` int(11) DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `content` longtext COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `creation_date` datetime NOT NULL,
  `modification_date` datetime DEFAULT NULL,
  `publication_date` datetime DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  `viewCounter` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_1B067922989D9B62` (`slug`),
  KEY `IDX_1B067922A76ED395` (`user_id`),
  KEY `IDX_1B067922DAE07E97` (`blog_id`),
  CONSTRAINT `FK_1B067922A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_1B067922DAE07E97` FOREIGN KEY (`blog_id`) REFERENCES `icap__blog` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_post`
--

LOCK TABLES `icap__blog_post` WRITE;
/*!40000 ALTER TABLE `icap__blog_post` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_post_tag`
--

DROP TABLE IF EXISTS `icap__blog_post_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_post_tag` (
  `post_id` int(11) NOT NULL,
  `tag_id` int(11) NOT NULL,
  PRIMARY KEY (`post_id`,`tag_id`),
  KEY `IDX_C3C6F4794B89032C` (`post_id`),
  KEY `IDX_C3C6F479BAD26311` (`tag_id`),
  CONSTRAINT `FK_C3C6F479BAD26311` FOREIGN KEY (`tag_id`) REFERENCES `icap__blog_tag` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_C3C6F4794B89032C` FOREIGN KEY (`post_id`) REFERENCES `icap__blog_post` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_post_tag`
--

LOCK TABLES `icap__blog_post_tag` WRITE;
/*!40000 ALTER TABLE `icap__blog_post_tag` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_post_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_tag`
--

DROP TABLE IF EXISTS `icap__blog_tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_tag` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_8BE678285E237E06` (`name`),
  UNIQUE KEY `UNIQ_8BE67828989D9B62` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_tag`
--

LOCK TABLES `icap__blog_tag` WRITE;
/*!40000 ALTER TABLE `icap__blog_tag` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_widget_blog`
--

DROP TABLE IF EXISTS `icap__blog_widget_blog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_widget_blog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resourceNode_id` int(11) DEFAULT NULL,
  `widgetInstance_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_widget_blog` (`resourceNode_id`,`widgetInstance_id`),
  KEY `IDX_EDA40898B87FAB32` (`resourceNode_id`),
  KEY `IDX_EDA40898AB7B5A55` (`widgetInstance_id`),
  CONSTRAINT `FK_EDA40898AB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EDA40898B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_widget_blog`
--

LOCK TABLES `icap__blog_widget_blog` WRITE;
/*!40000 ALTER TABLE `icap__blog_widget_blog` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_widget_blog` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_widget_list_blog`
--

DROP TABLE IF EXISTS `icap__blog_widget_list_blog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_widget_list_blog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resourceNode_id` int(11) NOT NULL,
  `widgetInstance_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_294D4E02AB7B5A55` (`widgetInstance_id`),
  KEY `IDX_294D4E02B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_294D4E02B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_294D4E02AB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_widget_list_blog`
--

LOCK TABLES `icap__blog_widget_list_blog` WRITE;
/*!40000 ALTER TABLE `icap__blog_widget_list_blog` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_widget_list_blog` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_widget_list_options`
--

DROP TABLE IF EXISTS `icap__blog_widget_list_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_widget_list_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `displayStyle` varchar(1) COLLATE utf8_unicode_ci NOT NULL,
  `widgetInstance_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_987CAC1AB7B5A55` (`widgetInstance_id`),
  CONSTRAINT `FK_987CAC1AB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_widget_list_options`
--

LOCK TABLES `icap__blog_widget_list_options` WRITE;
/*!40000 ALTER TABLE `icap__blog_widget_list_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_widget_list_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__blog_widget_tag_list_blog`
--

DROP TABLE IF EXISTS `icap__blog_widget_tag_list_blog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__blog_widget_tag_list_blog` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tag_cloud` smallint(6) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `widgetInstance_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_widget_tag_list_blog` (`resourceNode_id`,`widgetInstance_id`),
  KEY `IDX_75E7D178B87FAB32` (`resourceNode_id`),
  KEY `IDX_75E7D178AB7B5A55` (`widgetInstance_id`),
  CONSTRAINT `FK_75E7D178AB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_75E7D178B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__blog_widget_tag_list_blog`
--

LOCK TABLES `icap__blog_widget_tag_list_blog` WRITE;
/*!40000 ALTER TABLE `icap__blog_widget_tag_list_blog` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__blog_widget_tag_list_blog` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_correction`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_correction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_correction` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `drop_id` int(11) DEFAULT NULL,
  `drop_zone_id` int(11) NOT NULL,
  `total_grade` decimal(10,2) DEFAULT NULL,
  `comment` longtext COLLATE utf8_unicode_ci,
  `valid` tinyint(1) NOT NULL,
  `start_date` datetime NOT NULL,
  `last_open_date` datetime NOT NULL,
  `end_date` datetime DEFAULT NULL,
  `finished` tinyint(1) NOT NULL,
  `editable` tinyint(1) NOT NULL,
  `reporter` tinyint(1) NOT NULL,
  `reportComment` longtext COLLATE utf8_unicode_ci,
  `correctionDenied` tinyint(1) NOT NULL,
  `correctionDeniedComment` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_CDA81F40A76ED395` (`user_id`),
  KEY `IDX_CDA81F404D224760` (`drop_id`),
  KEY `IDX_CDA81F40A8C6E7BD` (`drop_zone_id`),
  CONSTRAINT `FK_CDA81F404D224760` FOREIGN KEY (`drop_id`) REFERENCES `icap__dropzonebundle_drop` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_CDA81F40A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_CDA81F40A8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `icap__dropzonebundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_correction`
--

LOCK TABLES `icap__dropzonebundle_correction` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_correction` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_correction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_criterion`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_criterion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_criterion` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `drop_zone_id` int(11) NOT NULL,
  `instruction` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_F94B3BA7A8C6E7BD` (`drop_zone_id`),
  CONSTRAINT `FK_F94B3BA7A8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `icap__dropzonebundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_criterion`
--

LOCK TABLES `icap__dropzonebundle_criterion` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_criterion` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_criterion` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_document`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_document`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_document` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_node_id` int(11) DEFAULT NULL,
  `drop_id` int(11) NOT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_744084241BAD783F` (`resource_node_id`),
  KEY `IDX_744084244D224760` (`drop_id`),
  CONSTRAINT `FK_744084244D224760` FOREIGN KEY (`drop_id`) REFERENCES `icap__dropzonebundle_drop` (`id`),
  CONSTRAINT `FK_744084241BAD783F` FOREIGN KEY (`resource_node_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_document`
--

LOCK TABLES `icap__dropzonebundle_document` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_document` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_document` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_drop`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_drop`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_drop` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `drop_zone_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `hidden_directory_id` int(11) DEFAULT NULL,
  `drop_date` datetime NOT NULL,
  `reported` tinyint(1) NOT NULL,
  `finished` tinyint(1) NOT NULL,
  `number` int(11) NOT NULL,
  `auto_closed_drop` tinyint(1) NOT NULL DEFAULT '0',
  `unlocked_drop` tinyint(1) NOT NULL DEFAULT '0',
  `unlocked_user` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_drop_for_user_in_drop_zone` (`drop_zone_id`,`user_id`),
  UNIQUE KEY `unique_drop_number_in_drop_zone` (`drop_zone_id`,`number`),
  UNIQUE KEY `UNIQ_3AD19BA65342CDF` (`hidden_directory_id`),
  KEY `IDX_3AD19BA6A8C6E7BD` (`drop_zone_id`),
  KEY `IDX_3AD19BA6A76ED395` (`user_id`),
  CONSTRAINT `FK_3AD19BA65342CDF` FOREIGN KEY (`hidden_directory_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_3AD19BA6A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_3AD19BA6A8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `icap__dropzonebundle_dropzone` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_drop`
--

LOCK TABLES `icap__dropzonebundle_drop` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_drop` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_drop` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_dropzone`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_dropzone`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_dropzone` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hidden_directory_id` int(11) DEFAULT NULL,
  `edition_state` smallint(6) NOT NULL,
  `instruction` longtext COLLATE utf8_unicode_ci,
  `allow_workspace_resource` tinyint(1) NOT NULL,
  `allow_upload` tinyint(1) NOT NULL,
  `allow_url` tinyint(1) NOT NULL,
  `allow_rich_text` tinyint(1) NOT NULL,
  `peer_review` tinyint(1) NOT NULL,
  `expected_total_correction` smallint(6) NOT NULL,
  `display_notation_to_learners` tinyint(1) NOT NULL,
  `display_notation_message_to_learners` tinyint(1) NOT NULL,
  `minimum_score_to_pass` double NOT NULL,
  `manual_planning` tinyint(1) NOT NULL,
  `manual_state` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `start_allow_drop` datetime DEFAULT NULL,
  `end_allow_drop` datetime DEFAULT NULL,
  `start_review` datetime DEFAULT NULL,
  `end_review` datetime DEFAULT NULL,
  `allow_comment_in_correction` tinyint(1) NOT NULL,
  `total_criteria_column` smallint(6) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `diplay_corrections_to_learners` tinyint(1) NOT NULL,
  `allow_correction_deny` tinyint(1) NOT NULL,
  `correction_instruction` longtext COLLATE utf8_unicode_ci,
  `success_message` longtext COLLATE utf8_unicode_ci,
  `fail_message` longtext COLLATE utf8_unicode_ci,
  `auto_close_opened_drops_when_time_is_up` tinyint(1) NOT NULL DEFAULT '0',
  `auto_close_state` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'waiting',
  `notify_on_drop` tinyint(1) NOT NULL DEFAULT '0',
  `force_comment_in_correction` tinyint(1) NOT NULL,
  `event_agenda_drop` int(11) DEFAULT NULL,
  `event_agenda_correction` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_6782FC235342CDF` (`hidden_directory_id`),
  UNIQUE KEY `UNIQ_6782FC23B87FAB32` (`resourceNode_id`),
  UNIQUE KEY `UNIQ_6782FC23E6B974D2` (`event_agenda_drop`),
  UNIQUE KEY `UNIQ_6782FC238D9E1321` (`event_agenda_correction`),
  CONSTRAINT `FK_6782FC238D9E1321` FOREIGN KEY (`event_agenda_correction`) REFERENCES `claro_event` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_6782FC235342CDF` FOREIGN KEY (`hidden_directory_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_6782FC23B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_6782FC23E6B974D2` FOREIGN KEY (`event_agenda_drop`) REFERENCES `claro_event` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_dropzone`
--

LOCK TABLES `icap__dropzonebundle_dropzone` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_dropzone` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_dropzone` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__dropzonebundle_grade`
--

DROP TABLE IF EXISTS `icap__dropzonebundle_grade`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__dropzonebundle_grade` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `criterion_id` int(11) NOT NULL,
  `correction_id` int(11) NOT NULL,
  `value` smallint(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_grade_for_criterion_and_correction` (`criterion_id`,`correction_id`),
  KEY `IDX_B3C52D9397766307` (`criterion_id`),
  KEY `IDX_B3C52D9394AE086B` (`correction_id`),
  CONSTRAINT `FK_B3C52D9394AE086B` FOREIGN KEY (`correction_id`) REFERENCES `icap__dropzonebundle_correction` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B3C52D9397766307` FOREIGN KEY (`criterion_id`) REFERENCES `icap__dropzonebundle_criterion` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__dropzonebundle_grade`
--

LOCK TABLES `icap__dropzonebundle_grade` WRITE;
/*!40000 ALTER TABLE `icap__dropzonebundle_grade` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__dropzonebundle_grade` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__lesson`
--

DROP TABLE IF EXISTS `icap__lesson`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__lesson` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `root_id` int(11) DEFAULT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D9B3613079066886` (`root_id`),
  UNIQUE KEY `UNIQ_D9B36130B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_D9B3613079066886` FOREIGN KEY (`root_id`) REFERENCES `icap__lesson_chapter` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D9B36130B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__lesson`
--

LOCK TABLES `icap__lesson` WRITE;
/*!40000 ALTER TABLE `icap__lesson` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__lesson` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__lesson_chapter`
--

DROP TABLE IF EXISTS `icap__lesson_chapter`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__lesson_chapter` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `lesson_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  `lft` int(11) NOT NULL,
  `lvl` int(11) NOT NULL,
  `rgt` int(11) NOT NULL,
  `root` int(11) DEFAULT NULL,
  `slug` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_3D7E3C8C989D9B62` (`slug`),
  KEY `IDX_3D7E3C8CCDF80196` (`lesson_id`),
  KEY `IDX_3D7E3C8C727ACA70` (`parent_id`),
  CONSTRAINT `FK_3D7E3C8C727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `icap__lesson_chapter` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_3D7E3C8CCDF80196` FOREIGN KEY (`lesson_id`) REFERENCES `icap__lesson` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__lesson_chapter`
--

LOCK TABLES `icap__lesson_chapter` WRITE;
/*!40000 ALTER TABLE `icap__lesson_chapter` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__lesson_chapter` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__notification`
--

DROP TABLE IF EXISTS `icap__notification`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__notification` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creation_date` datetime NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `resource_id` int(11) DEFAULT NULL,
  `icon_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `action_key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `details` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:json_array)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__notification`
--

LOCK TABLES `icap__notification` WRITE;
/*!40000 ALTER TABLE `icap__notification` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__notification` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__notification_follower_resource`
--

DROP TABLE IF EXISTS `icap__notification_follower_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__notification_follower_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hash` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `resource_class` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `resource_id` int(11) NOT NULL,
  `follower_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__notification_follower_resource`
--

LOCK TABLES `icap__notification_follower_resource` WRITE;
/*!40000 ALTER TABLE `icap__notification_follower_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__notification_follower_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__notification_plugin_configuration`
--

DROP TABLE IF EXISTS `icap__notification_plugin_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__notification_plugin_configuration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `dropdown_items` int(11) NOT NULL,
  `max_per_page` int(11) NOT NULL,
  `purge_enabled` tinyint(1) NOT NULL,
  `purge_after_days` int(11) NOT NULL,
  `last_purge_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__notification_plugin_configuration`
--

LOCK TABLES `icap__notification_plugin_configuration` WRITE;
/*!40000 ALTER TABLE `icap__notification_plugin_configuration` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__notification_plugin_configuration` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__notification_user_parameters`
--

DROP TABLE IF EXISTS `icap__notification_user_parameters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__notification_user_parameters` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `display_enabled_types` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:array)',
  `rss_enabled_types` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:array)',
  `rss_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_F44A756DA9D08426` (`rss_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__notification_user_parameters`
--

LOCK TABLES `icap__notification_user_parameters` WRITE;
/*!40000 ALTER TABLE `icap__notification_user_parameters` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__notification_user_parameters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__notification_viewer`
--

DROP TABLE IF EXISTS `icap__notification_viewer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__notification_viewer` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `notification_id` int(11) NOT NULL,
  `viewer_id` int(11) NOT NULL,
  `status` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_DB60418BEF1A9D84` (`notification_id`),
  KEY `viewer_idx` (`viewer_id`),
  CONSTRAINT `FK_DB60418BEF1A9D84` FOREIGN KEY (`notification_id`) REFERENCES `icap__notification` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__notification_viewer`
--

LOCK TABLES `icap__notification_viewer` WRITE;
/*!40000 ALTER TABLE `icap__notification_viewer` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__notification_viewer` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__oauth_user`
--

DROP TABLE IF EXISTS `icap__oauth_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__oauth_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `oauthId` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `service` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_301D647CA76ED395` (`user_id`),
  CONSTRAINT `FK_301D647CA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__oauth_user`
--

LOCK TABLES `icap__oauth_user` WRITE;
/*!40000 ALTER TABLE `icap__oauth_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__oauth_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio`
--

DROP TABLE IF EXISTS `icap__portfolio`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `visibility` int(11) NOT NULL,
  `deletedAt` datetime DEFAULT NULL,
  `comments_view_at` datetime NOT NULL,
  `title` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_8B1895D989D9B62` (`slug`),
  KEY `IDX_8B1895DA76ED395` (`user_id`),
  CONSTRAINT `FK_8B1895DA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio`
--

LOCK TABLES `icap__portfolio` WRITE;
/*!40000 ALTER TABLE `icap__portfolio` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_abstract_widget`
--

DROP TABLE IF EXISTS `icap__portfolio_abstract_widget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_abstract_widget` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL,
  `widget_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_3E7AEFBBA76ED395` (`user_id`),
  CONSTRAINT `FK_3E7AEFBBA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_abstract_widget`
--

LOCK TABLES `icap__portfolio_abstract_widget` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_abstract_widget` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_abstract_widget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_comments`
--

DROP TABLE IF EXISTS `icap__portfolio_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `portfolio_id` int(11) NOT NULL,
  `sender_id` int(11) NOT NULL,
  `message` longtext COLLATE utf8_unicode_ci NOT NULL,
  `sending_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_D4662DE3B96B5643` (`portfolio_id`),
  KEY `IDX_D4662DE3F624B39D` (`sender_id`),
  CONSTRAINT `FK_D4662DE3F624B39D` FOREIGN KEY (`sender_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_D4662DE3B96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_comments`
--

LOCK TABLES `icap__portfolio_comments` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_groups`
--

DROP TABLE IF EXISTS `icap__portfolio_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `group_id` int(11) NOT NULL,
  `portfolio_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portfolio_groups_unique_idx` (`portfolio_id`,`group_id`),
  KEY `IDX_9AF01ADFFE54D947` (`group_id`),
  KEY `IDX_9AF01ADFB96B5643` (`portfolio_id`),
  CONSTRAINT `FK_9AF01ADFB96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`),
  CONSTRAINT `FK_9AF01ADFFE54D947` FOREIGN KEY (`group_id`) REFERENCES `claro_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_groups`
--

LOCK TABLES `icap__portfolio_groups` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_guides`
--

DROP TABLE IF EXISTS `icap__portfolio_guides`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_guides` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `portfolio_id` int(11) NOT NULL,
  `comments_view_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portfolio_users_unique_idx` (`portfolio_id`,`user_id`),
  KEY `IDX_27EAB640A76ED395` (`user_id`),
  KEY `IDX_27EAB640B96B5643` (`portfolio_id`),
  CONSTRAINT `FK_27EAB640B96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`),
  CONSTRAINT `FK_27EAB640A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_guides`
--

LOCK TABLES `icap__portfolio_guides` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_guides` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_guides` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_teams`
--

DROP TABLE IF EXISTS `icap__portfolio_teams`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_teams` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `team_id` int(11) NOT NULL,
  `portfolio_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portfolio_teams_unique_idx` (`portfolio_id`,`team_id`),
  KEY `IDX_BBC17F49296CD8AE` (`team_id`),
  KEY `IDX_BBC17F49B96B5643` (`portfolio_id`),
  CONSTRAINT `FK_BBC17F49B96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`),
  CONSTRAINT `FK_BBC17F49296CD8AE` FOREIGN KEY (`team_id`) REFERENCES `claro_team` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_teams`
--

LOCK TABLES `icap__portfolio_teams` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_teams` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_teams` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_users`
--

DROP TABLE IF EXISTS `icap__portfolio_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `portfolio_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portfolio_users_unique_idx` (`portfolio_id`,`user_id`),
  KEY `IDX_3980F8F8A76ED395` (`user_id`),
  KEY `IDX_3980F8F8B96B5643` (`portfolio_id`),
  CONSTRAINT `FK_3980F8F8B96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`),
  CONSTRAINT `FK_3980F8F8A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_users`
--

LOCK TABLES `icap__portfolio_users` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget`
--

DROP TABLE IF EXISTS `icap__portfolio_widget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `portfolio_id` int(11) NOT NULL,
  `widget_id` int(11) NOT NULL,
  `col` int(11) NOT NULL DEFAULT '0',
  `row` int(11) NOT NULL DEFAULT '0',
  `size_x` int(11) NOT NULL DEFAULT '1',
  `size_y` int(11) NOT NULL DEFAULT '1',
  `widgetType` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_EF643D7FB96B5643` (`portfolio_id`),
  KEY `IDX_EF643D7FFBE885E2` (`widget_id`),
  CONSTRAINT `FK_EF643D7FFBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_EF643D7FB96B5643` FOREIGN KEY (`portfolio_id`) REFERENCES `icap__portfolio` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget`
--

LOCK TABLES `icap__portfolio_widget` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_badges`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_badges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_badges` (
  `id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_C1AF804BBF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_badges`
--

LOCK TABLES `icap__portfolio_widget_badges` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_badges` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_badges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_badges_badge`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_badges_badge`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_badges_badge` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `badge_id` int(11) NOT NULL,
  `widget_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_25D41B98F7A2C2FC` (`badge_id`),
  KEY `IDX_25D41B98FBE885E2` (`widget_id`),
  CONSTRAINT `FK_25D41B98FBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `icap__portfolio_widget_badges` (`id`),
  CONSTRAINT `FK_25D41B98F7A2C2FC` FOREIGN KEY (`badge_id`) REFERENCES `claro_badge` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_badges_badge`
--

LOCK TABLES `icap__portfolio_widget_badges_badge` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_badges_badge` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_badges_badge` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_experience`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_experience`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_experience` (
  `id` int(11) NOT NULL,
  `post` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `companyName` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `startDate` datetime NOT NULL,
  `endDate` datetime DEFAULT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_CD7379A3BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_experience`
--

LOCK TABLES `icap__portfolio_widget_experience` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_experience` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_experience` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_formations`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_formations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_formations` (
  `id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `startDate` datetime NOT NULL,
  `endDate` datetime DEFAULT NULL,
  `establishmentName` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `diploma` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_88739997BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_formations`
--

LOCK TABLES `icap__portfolio_widget_formations` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_formations` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_formations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_formations_resource`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_formations_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_formations_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) DEFAULT NULL,
  `widget_id` int(11) NOT NULL,
  `uri` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `uriLabel` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_23096D5889329D25` (`resource_id`),
  KEY `IDX_23096D58FBE885E2` (`widget_id`),
  CONSTRAINT `FK_23096D5889329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_23096D58FBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `icap__portfolio_widget_formations` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_formations_resource`
--

LOCK TABLES `icap__portfolio_widget_formations_resource` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_formations_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_formations_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_presentation`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_presentation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_presentation` (
  `id` int(11) NOT NULL,
  `presentation` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_F0DBA727BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_presentation`
--

LOCK TABLES `icap__portfolio_widget_presentation` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_presentation` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_presentation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_skills`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_skills`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_skills` (
  `id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_6C68C5A1BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_skills`
--

LOCK TABLES `icap__portfolio_widget_skills` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_skills` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_skills` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_skills_skill`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_skills_skill`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_skills_skill` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `widget_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_98EF40A3FBE885E2` (`widget_id`),
  CONSTRAINT `FK_98EF40A3FBE885E2` FOREIGN KEY (`widget_id`) REFERENCES `icap__portfolio_widget_skills` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_skills_skill`
--

LOCK TABLES `icap__portfolio_widget_skills_skill` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_skills_skill` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_skills_skill` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_text`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_text`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_text` (
  `id` int(11) NOT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_89550C61BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_text`
--

LOCK TABLES `icap__portfolio_widget_text` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_text` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_text` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_title`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_title`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_title` (
  `id` int(11) NOT NULL,
  `title` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `slug` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_1431A01D989D9B62` (`slug`),
  UNIQUE KEY `portfolio_slug_unique_idx` (`slug`),
  CONSTRAINT `FK_1431A01DBF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_title`
--

LOCK TABLES `icap__portfolio_widget_title` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_title` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_title` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_type`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_3E00FC8F5E237E06` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_type`
--

LOCK TABLES `icap__portfolio_widget_type` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_type` DISABLE KEYS */;
INSERT INTO `icap__portfolio_widget_type` VALUES (1,'userInformation','info'),(2,'text','align-left'),(3,'skills','bookmark'),(4,'formations','graduation-cap'),(5,'experience','briefcase'),(6,'badges','trophy');
/*!40000 ALTER TABLE `icap__portfolio_widget_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__portfolio_widget_user_information`
--

DROP TABLE IF EXISTS `icap__portfolio_widget_user_information`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__portfolio_widget_user_information` (
  `id` int(11) NOT NULL,
  `city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `birthDate` datetime DEFAULT NULL,
  `show_avatar` tinyint(1) NOT NULL,
  `show_mail` tinyint(1) NOT NULL,
  `show_phone` tinyint(1) NOT NULL,
  `show_description` tinyint(1) NOT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  CONSTRAINT `FK_E2BFAA03BF396750` FOREIGN KEY (`id`) REFERENCES `icap__portfolio_abstract_widget` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__portfolio_widget_user_information`
--

LOCK TABLES `icap__portfolio_widget_user_information` WRITE;
/*!40000 ALTER TABLE `icap__portfolio_widget_user_information` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__portfolio_widget_user_information` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__socialmedia_comment`
--

DROP TABLE IF EXISTS `icap__socialmedia_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__socialmedia_comment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_6FC00C3089329D25` (`resource_id`),
  KEY `IDX_6FC00C30A76ED395` (`user_id`),
  CONSTRAINT `FK_6FC00C30A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_6FC00C3089329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__socialmedia_comment`
--

LOCK TABLES `icap__socialmedia_comment` WRITE;
/*!40000 ALTER TABLE `icap__socialmedia_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__socialmedia_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__socialmedia_like`
--

DROP TABLE IF EXISTS `icap__socialmedia_like`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__socialmedia_like` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_7C98AD9089329D25` (`resource_id`),
  KEY `IDX_7C98AD90A76ED395` (`user_id`),
  CONSTRAINT `FK_7C98AD90A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_7C98AD9089329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__socialmedia_like`
--

LOCK TABLES `icap__socialmedia_like` WRITE;
/*!40000 ALTER TABLE `icap__socialmedia_like` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__socialmedia_like` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__socialmedia_note`
--

DROP TABLE IF EXISTS `icap__socialmedia_note`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__socialmedia_note` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_1F46173789329D25` (`resource_id`),
  KEY `IDX_1F461737A76ED395` (`user_id`),
  CONSTRAINT `FK_1F461737A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_1F46173789329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__socialmedia_note`
--

LOCK TABLES `icap__socialmedia_note` WRITE;
/*!40000 ALTER TABLE `icap__socialmedia_note` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__socialmedia_note` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__socialmedia_share`
--

DROP TABLE IF EXISTS `icap__socialmedia_share`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__socialmedia_share` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `network` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_4DB117C589329D25` (`resource_id`),
  KEY `IDX_4DB117C5A76ED395` (`user_id`),
  CONSTRAINT `FK_4DB117C5A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_4DB117C589329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__socialmedia_share`
--

LOCK TABLES `icap__socialmedia_share` WRITE;
/*!40000 ALTER TABLE `icap__socialmedia_share` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__socialmedia_share` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__socialmedia_wall_item`
--

DROP TABLE IF EXISTS `icap__socialmedia_wall_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__socialmedia_wall_item` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `like_id` int(11) DEFAULT NULL,
  `share_id` int(11) DEFAULT NULL,
  `comment_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `creation_date` datetime NOT NULL,
  `visible` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_436BC420859BFA32` (`like_id`),
  KEY `IDX_436BC4202AE63FDB` (`share_id`),
  KEY `IDX_436BC420F8697D13` (`comment_id`),
  KEY `IDX_436BC420A76ED395` (`user_id`),
  CONSTRAINT `FK_436BC4202AE63FDB` FOREIGN KEY (`share_id`) REFERENCES `icap__socialmedia_share` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_436BC420859BFA32` FOREIGN KEY (`like_id`) REFERENCES `icap__socialmedia_like` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_436BC420A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_436BC420F8697D13` FOREIGN KEY (`comment_id`) REFERENCES `icap__socialmedia_comment` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__socialmedia_wall_item`
--

LOCK TABLES `icap__socialmedia_wall_item` WRITE;
/*!40000 ALTER TABLE `icap__socialmedia_wall_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__socialmedia_wall_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__website`
--

DROP TABLE IF EXISTS `icap__website`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__website` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resourceNode_id` int(11) DEFAULT NULL,
  `root_id` int(11) DEFAULT NULL,
  `options_id` int(11) DEFAULT NULL,
  `homepage_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_452309F8B87FAB32` (`resourceNode_id`),
  UNIQUE KEY `UNIQ_452309F879066886` (`root_id`),
  UNIQUE KEY `UNIQ_452309F83ADB05F1` (`options_id`),
  UNIQUE KEY `UNIQ_452309F8571EDDA` (`homepage_id`),
  CONSTRAINT `FK_452309F8571EDDA` FOREIGN KEY (`homepage_id`) REFERENCES `icap__website_page` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_452309F83ADB05F1` FOREIGN KEY (`options_id`) REFERENCES `icap__website_options` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_452309F879066886` FOREIGN KEY (`root_id`) REFERENCES `icap__website_page` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_452309F8B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__website`
--

LOCK TABLES `icap__website` WRITE;
/*!40000 ALTER TABLE `icap__website` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__website` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__website_options`
--

DROP TABLE IF EXISTS `icap__website_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__website_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `website_id` int(11) DEFAULT NULL,
  `copyrightEnabled` tinyint(1) NOT NULL,
  `copyrightText` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `analyticsProvider` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `analyticsAccountId` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cssCode` longtext COLLATE utf8_unicode_ci,
  `bgColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bgImage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bgRepeat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bgPosition` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bannerBgColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bannerBgImage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bannerBgRepeat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bannerBgPosition` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bannerHeight` int(11) DEFAULT NULL,
  `bannerEnabled` tinyint(1) NOT NULL,
  `bannerText` longtext COLLATE utf8_unicode_ci,
  `footerBgColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `footerBgImage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `footerBgRepeat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `footerBgPosition` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `footerHeight` int(11) DEFAULT NULL,
  `footerEnabled` tinyint(1) NOT NULL,
  `footerText` longtext COLLATE utf8_unicode_ci,
  `menuBgColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sectionBgColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuBorderColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuFontColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuHoverColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuFontFamily` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuFontStyle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuFontWeight` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuWidth` int(11) DEFAULT NULL,
  `menuOrientation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `menuFontSize` int(11) DEFAULT NULL,
  `totalWidth` int(11) DEFAULT NULL,
  `sectionFontColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bgContentColor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_C40F17718F45C82` (`website_id`),
  CONSTRAINT `FK_C40F17718F45C82` FOREIGN KEY (`website_id`) REFERENCES `icap__website` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__website_options`
--

LOCK TABLES `icap__website_options` WRITE;
/*!40000 ALTER TABLE `icap__website_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__website_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__website_page`
--

DROP TABLE IF EXISTS `icap__website_page`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__website_page` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_node_id` int(11) DEFAULT NULL,
  `website_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `visible` tinyint(1) NOT NULL,
  `creation_date` datetime NOT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `richText` longtext COLLATE utf8_unicode_ci,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `isSection` tinyint(1) NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lft` int(11) NOT NULL,
  `lvl` int(11) NOT NULL,
  `rgt` int(11) NOT NULL,
  `root` int(11) DEFAULT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `resourceNodeType` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `isHomepage` tinyint(1) DEFAULT NULL,
  `target` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_FB66D1D41BAD783F` (`resource_node_id`),
  KEY `IDX_FB66D1D418F45C82` (`website_id`),
  KEY `IDX_FB66D1D4727ACA70` (`parent_id`),
  CONSTRAINT `FK_FB66D1D418F45C82` FOREIGN KEY (`website_id`) REFERENCES `icap__website` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_FB66D1D41BAD783F` FOREIGN KEY (`resource_node_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_FB66D1D4727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `icap__website_page` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__website_page`
--

LOCK TABLES `icap__website_page` WRITE;
/*!40000 ALTER TABLE `icap__website_page` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__website_page` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__wiki`
--

DROP TABLE IF EXISTS `icap__wiki`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__wiki` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `root_id` int(11) DEFAULT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `mode` smallint(6) DEFAULT NULL,
  `displaySectionNumbers` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_1FAD6B8179066886` (`root_id`),
  UNIQUE KEY `UNIQ_1FAD6B81B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_1FAD6B8179066886` FOREIGN KEY (`root_id`) REFERENCES `icap__wiki_section` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_1FAD6B81B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__wiki`
--

LOCK TABLES `icap__wiki` WRITE;
/*!40000 ALTER TABLE `icap__wiki` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__wiki` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__wiki_contribution`
--

DROP TABLE IF EXISTS `icap__wiki_contribution`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__wiki_contribution` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `section_id` int(11) DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `text` longtext COLLATE utf8_unicode_ci,
  `creation_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_781E6502A76ED395` (`user_id`),
  KEY `IDX_781E6502D823E37A` (`section_id`),
  CONSTRAINT `FK_781E6502A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_781E6502D823E37A` FOREIGN KEY (`section_id`) REFERENCES `icap__wiki_section` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__wiki_contribution`
--

LOCK TABLES `icap__wiki_contribution` WRITE;
/*!40000 ALTER TABLE `icap__wiki_contribution` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__wiki_contribution` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `icap__wiki_section`
--

DROP TABLE IF EXISTS `icap__wiki_section`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `icap__wiki_section` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `wiki_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `visible` tinyint(1) NOT NULL,
  `creation_date` datetime NOT NULL,
  `lft` int(11) NOT NULL,
  `lvl` int(11) NOT NULL,
  `rgt` int(11) NOT NULL,
  `root` int(11) DEFAULT NULL,
  `active_contribution_id` int(11) DEFAULT NULL,
  `deleted` tinyint(1) DEFAULT NULL,
  `deletion_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_82904AAFE665925` (`active_contribution_id`),
  KEY `IDX_82904AAA76ED395` (`user_id`),
  KEY `IDX_82904AAAA948DBE` (`wiki_id`),
  KEY `IDX_82904AA727ACA70` (`parent_id`),
  CONSTRAINT `FK_82904AA727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `icap__wiki_section` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_82904AAA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_82904AAAA948DBE` FOREIGN KEY (`wiki_id`) REFERENCES `icap__wiki` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_82904AAFE665925` FOREIGN KEY (`active_contribution_id`) REFERENCES `icap__wiki_contribution` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `icap__wiki_section`
--

LOCK TABLES `icap__wiki_section` WRITE;
/*!40000 ALTER TABLE `icap__wiki_section` DISABLE KEYS */;
/*!40000 ALTER TABLE `icap__wiki_section` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_audio_recorder_configuration`
--

DROP TABLE IF EXISTS `innova_audio_recorder_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_audio_recorder_configuration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `max_recording_time` int(11) NOT NULL DEFAULT '0',
  `max_try` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_audio_recorder_configuration`
--

LOCK TABLES `innova_audio_recorder_configuration` WRITE;
/*!40000 ALTER TABLE `innova_audio_recorder_configuration` DISABLE KEYS */;
INSERT INTO `innova_audio_recorder_configuration` VALUES (1,60,5);
/*!40000 ALTER TABLE `innova_audio_recorder_configuration` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_choice_criteria`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_choice_criteria`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_choice_criteria` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `criteria_id` int(11) NOT NULL,
  `choice_text` longtext COLLATE utf8_unicode_ci,
  `notation_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_2EC94D86990BEA15` (`criteria_id`),
  KEY `IDX_2EC94D869680B7F7` (`notation_id`),
  CONSTRAINT `FK_2EC94D869680B7F7` FOREIGN KEY (`notation_id`) REFERENCES `innova_collecticielbundle_notation` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_2EC94D86990BEA15` FOREIGN KEY (`criteria_id`) REFERENCES `innova_collecticielbundle_grading_criteria` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_choice_criteria`
--

LOCK TABLES `innova_collecticielbundle_choice_criteria` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_choice_criteria` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_choice_criteria` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_choice_notation`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_choice_notation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_choice_notation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `choice_text` longtext COLLATE utf8_unicode_ci,
  `notation_id` int(11) NOT NULL,
  `criteria_notation_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_9ABE6A929680B7F7` (`notation_id`),
  KEY `IDX_9ABE6A9224B233E4` (`criteria_notation_id`),
  CONSTRAINT `FK_9ABE6A929680B7F7` FOREIGN KEY (`notation_id`) REFERENCES `innova_collecticielbundle_notation` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_9ABE6A9224B233E4` FOREIGN KEY (`criteria_notation_id`) REFERENCES `innova_collecticielbundle_grading_notation` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_choice_notation`
--

LOCK TABLES `innova_collecticielbundle_choice_notation` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_choice_notation` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_choice_notation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_comment`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_comment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `document_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `comment_text` longtext COLLATE utf8_unicode_ci,
  `comment_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_A9CB9095C33F7837` (`document_id`),
  KEY `IDX_A9CB9095A76ED395` (`user_id`),
  CONSTRAINT `FK_A9CB9095A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_A9CB9095C33F7837` FOREIGN KEY (`document_id`) REFERENCES `innova_collecticielbundle_document` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_comment`
--

LOCK TABLES `innova_collecticielbundle_comment` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_comment_read`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_comment_read`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_comment_read` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `comment_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_83EB06B9F8697D13` (`comment_id`),
  KEY `IDX_83EB06B9A76ED395` (`user_id`),
  CONSTRAINT `FK_83EB06B9A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_83EB06B9F8697D13` FOREIGN KEY (`comment_id`) REFERENCES `innova_collecticielbundle_comment` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_comment_read`
--

LOCK TABLES `innova_collecticielbundle_comment_read` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_comment_read` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_comment_read` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_correction`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_correction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_correction` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `drop_id` int(11) DEFAULT NULL,
  `drop_zone_id` int(11) NOT NULL,
  `total_grade` decimal(10,2) DEFAULT NULL,
  `comment` longtext COLLATE utf8_unicode_ci,
  `valid` tinyint(1) NOT NULL,
  `start_date` datetime NOT NULL,
  `last_open_date` datetime NOT NULL,
  `end_date` datetime DEFAULT NULL,
  `finished` tinyint(1) NOT NULL,
  `editable` tinyint(1) NOT NULL,
  `reporter` tinyint(1) NOT NULL,
  `reportComment` longtext COLLATE utf8_unicode_ci,
  `correctionDenied` tinyint(1) NOT NULL,
  `correctionDeniedComment` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_BA9AF20BA76ED395` (`user_id`),
  KEY `IDX_BA9AF20B4D224760` (`drop_id`),
  KEY `IDX_BA9AF20BA8C6E7BD` (`drop_zone_id`),
  CONSTRAINT `FK_BA9AF20BA8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_BA9AF20B4D224760` FOREIGN KEY (`drop_id`) REFERENCES `innova_collecticielbundle_drop` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_BA9AF20BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_correction`
--

LOCK TABLES `innova_collecticielbundle_correction` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_correction` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_correction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_criterion`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_criterion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_criterion` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `drop_zone_id` int(11) NOT NULL,
  `instruction` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_CC96E6A6A8C6E7BD` (`drop_zone_id`),
  CONSTRAINT `FK_CC96E6A6A8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_criterion`
--

LOCK TABLES `innova_collecticielbundle_criterion` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_criterion` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_criterion` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_document`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_document`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_document` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `resource_node_id` int(11) DEFAULT NULL,
  `drop_id` int(11) DEFAULT NULL,
  `sender_id` int(11) DEFAULT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `validate` tinyint(1) NOT NULL,
  `document_date` datetime NOT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_1C357F0C1BAD783F` (`resource_node_id`),
  KEY `IDX_1C357F0C4D224760` (`drop_id`),
  KEY `IDX_1C357F0CF624B39D` (`sender_id`),
  CONSTRAINT `FK_1C357F0CF624B39D` FOREIGN KEY (`sender_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_1C357F0C1BAD783F` FOREIGN KEY (`resource_node_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_1C357F0C4D224760` FOREIGN KEY (`drop_id`) REFERENCES `innova_collecticielbundle_drop` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_document`
--

LOCK TABLES `innova_collecticielbundle_document` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_document` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_document` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_drop`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_drop`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_drop` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `drop_zone_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `hidden_directory_id` int(11) DEFAULT NULL,
  `drop_date` datetime NOT NULL,
  `reported` tinyint(1) NOT NULL,
  `finished` tinyint(1) NOT NULL,
  `number` int(11) NOT NULL,
  `auto_closed_drop` tinyint(1) NOT NULL DEFAULT '0',
  `unlocked_drop` tinyint(1) NOT NULL DEFAULT '0',
  `unlocked_user` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_drop_for_user_in_drop_zone` (`drop_zone_id`,`user_id`),
  UNIQUE KEY `unique_drop_number_in_drop_zone` (`drop_zone_id`,`number`),
  UNIQUE KEY `UNIQ_717572395342CDF` (`hidden_directory_id`),
  KEY `IDX_71757239A8C6E7BD` (`drop_zone_id`),
  KEY `IDX_71757239A76ED395` (`user_id`),
  CONSTRAINT `FK_717572395342CDF` FOREIGN KEY (`hidden_directory_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_71757239A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_71757239A8C6E7BD` FOREIGN KEY (`drop_zone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_drop`
--

LOCK TABLES `innova_collecticielbundle_drop` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_drop` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_drop` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_dropzone`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_dropzone`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_dropzone` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hidden_directory_id` int(11) DEFAULT NULL,
  `event_agenda_drop` int(11) DEFAULT NULL,
  `event_agenda_correction` int(11) DEFAULT NULL,
  `edition_state` smallint(6) NOT NULL,
  `instruction` longtext COLLATE utf8_unicode_ci,
  `correction_instruction` longtext COLLATE utf8_unicode_ci,
  `success_message` longtext COLLATE utf8_unicode_ci,
  `fail_message` longtext COLLATE utf8_unicode_ci,
  `allow_workspace_resource` tinyint(1) NOT NULL,
  `allow_upload` tinyint(1) NOT NULL,
  `allow_url` tinyint(1) NOT NULL,
  `allow_rich_text` tinyint(1) NOT NULL,
  `peer_review` tinyint(1) NOT NULL,
  `expected_total_correction` smallint(6) NOT NULL,
  `display_notation_to_learners` tinyint(1) NOT NULL,
  `display_notation_message_to_learners` tinyint(1) NOT NULL,
  `minimum_score_to_pass` double NOT NULL,
  `manual_planning` tinyint(1) NOT NULL,
  `manual_state` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `start_allow_drop` datetime DEFAULT NULL,
  `end_allow_drop` datetime DEFAULT NULL,
  `start_review` datetime DEFAULT NULL,
  `end_review` datetime DEFAULT NULL,
  `allow_comment_in_correction` tinyint(1) NOT NULL,
  `force_comment_in_correction` tinyint(1) NOT NULL,
  `diplay_corrections_to_learners` tinyint(1) NOT NULL,
  `allow_correction_deny` tinyint(1) NOT NULL,
  `total_criteria_column` smallint(6) NOT NULL,
  `auto_close_opened_drops_when_time_is_up` tinyint(1) NOT NULL DEFAULT '0',
  `auto_close_state` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'waiting',
  `notify_on_drop` tinyint(1) NOT NULL DEFAULT '0',
  `return_receipt` tinyint(1) NOT NULL DEFAULT '0',
  `evaluation` tinyint(1) NOT NULL DEFAULT '0',
  `picture` tinyint(1) NOT NULL DEFAULT '0',
  `username` tinyint(1) NOT NULL DEFAULT '0',
  `resourceNode_id` int(11) DEFAULT NULL,
  `evaluation_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'noEvaluation',
  `maximum_notation` smallint(6) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_FF7070B5342CDF` (`hidden_directory_id`),
  UNIQUE KEY `UNIQ_FF7070BE6B974D2` (`event_agenda_drop`),
  UNIQUE KEY `UNIQ_FF7070B8D9E1321` (`event_agenda_correction`),
  UNIQUE KEY `UNIQ_FF7070BB87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_FF7070B5342CDF` FOREIGN KEY (`hidden_directory_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_FF7070B8D9E1321` FOREIGN KEY (`event_agenda_correction`) REFERENCES `claro_event` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_FF7070BB87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_FF7070BE6B974D2` FOREIGN KEY (`event_agenda_drop`) REFERENCES `claro_event` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_dropzone`
--

LOCK TABLES `innova_collecticielbundle_dropzone` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_dropzone` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_dropzone` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_grade`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_grade`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_grade` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `criterion_id` int(11) NOT NULL,
  `correction_id` int(11) NOT NULL,
  `value` smallint(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_grade_for_criterion_and_correction` (`criterion_id`,`correction_id`),
  KEY `IDX_D33E07AF97766307` (`criterion_id`),
  KEY `IDX_D33E07AF94AE086B` (`correction_id`),
  CONSTRAINT `FK_D33E07AF94AE086B` FOREIGN KEY (`correction_id`) REFERENCES `innova_collecticielbundle_correction` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D33E07AF97766307` FOREIGN KEY (`criterion_id`) REFERENCES `innova_collecticielbundle_criterion` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_grade`
--

LOCK TABLES `innova_collecticielbundle_grade` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_grade` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_grade` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_grading_criteria`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_grading_criteria`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_grading_criteria` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `dropzone_id` int(11) NOT NULL,
  `criteria_name` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_CFFAAB5D54FC3EC3` (`dropzone_id`),
  CONSTRAINT `FK_CFFAAB5D54FC3EC3` FOREIGN KEY (`dropzone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_grading_criteria`
--

LOCK TABLES `innova_collecticielbundle_grading_criteria` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_criteria` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_criteria` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_grading_notation`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_grading_notation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_grading_notation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `dropzone_id` int(11) NOT NULL,
  `notation_name` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_7B8D8C4954FC3EC3` (`dropzone_id`),
  CONSTRAINT `FK_7B8D8C4954FC3EC3` FOREIGN KEY (`dropzone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_grading_notation`
--

LOCK TABLES `innova_collecticielbundle_grading_notation` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_notation` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_notation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_grading_scale`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_grading_scale`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_grading_scale` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `dropzone_id` int(11) NOT NULL,
  `scale_name` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_99352CDE54FC3EC3` (`dropzone_id`),
  CONSTRAINT `FK_99352CDE54FC3EC3` FOREIGN KEY (`dropzone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_grading_scale`
--

LOCK TABLES `innova_collecticielbundle_grading_scale` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_scale` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_grading_scale` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_notation`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_notation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_notation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  `dropzone_id` int(11) NOT NULL,
  `note` int(11) NOT NULL,
  `comment_text` longtext COLLATE utf8_unicode_ci,
  `quality_text` longtext COLLATE utf8_unicode_ci,
  `note_date` datetime NOT NULL,
  `recordOrTransmit` tinyint(1) NOT NULL,
  `appreciation` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_C63449EFA76ED395` (`user_id`),
  KEY `IDX_C63449EFC33F7837` (`document_id`),
  KEY `IDX_C63449EF54FC3EC3` (`dropzone_id`),
  CONSTRAINT `FK_C63449EF54FC3EC3` FOREIGN KEY (`dropzone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_C63449EFA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_C63449EFC33F7837` FOREIGN KEY (`document_id`) REFERENCES `innova_collecticielbundle_document` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_notation`
--

LOCK TABLES `innova_collecticielbundle_notation` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_notation` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_notation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_return_receipt`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_return_receipt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_return_receipt` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `document_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `dropzone_id` int(11) NOT NULL,
  `return_receipt_type_id` int(11) DEFAULT NULL,
  `return_receipt_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_78A1DB96C33F7837` (`document_id`),
  KEY `IDX_78A1DB96A76ED395` (`user_id`),
  KEY `IDX_78A1DB9654FC3EC3` (`dropzone_id`),
  KEY `IDX_78A1DB96FD252543` (`return_receipt_type_id`),
  CONSTRAINT `FK_78A1DB96FD252543` FOREIGN KEY (`return_receipt_type_id`) REFERENCES `innova_collecticielbundle_return_receipt_type` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_78A1DB9654FC3EC3` FOREIGN KEY (`dropzone_id`) REFERENCES `innova_collecticielbundle_dropzone` (`id`),
  CONSTRAINT `FK_78A1DB96A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_78A1DB96C33F7837` FOREIGN KEY (`document_id`) REFERENCES `innova_collecticielbundle_document` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_return_receipt`
--

LOCK TABLES `innova_collecticielbundle_return_receipt` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_return_receipt` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_collecticielbundle_return_receipt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_collecticielbundle_return_receipt_type`
--

DROP TABLE IF EXISTS `innova_collecticielbundle_return_receipt_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_collecticielbundle_return_receipt_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type_name` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_collecticielbundle_return_receipt_type`
--

LOCK TABLES `innova_collecticielbundle_return_receipt_type` WRITE;
/*!40000 ALTER TABLE `innova_collecticielbundle_return_receipt_type` DISABLE KEYS */;
INSERT INTO `innova_collecticielbundle_return_receipt_type` VALUES (1,'NO RETURN RECEIPT'),(2,'DOUBLOON'),(3,'DOCUMENT RECEIVED'),(4,'DOCUMENT UNREADABLE'),(5,'INCOMPLETE DOCUMENT'),(6,'ERROR DOCUMENT');
/*!40000 ALTER TABLE `innova_collecticielbundle_return_receipt_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_path`
--

DROP TABLE IF EXISTS `innova_path`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_path` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `structure` longtext COLLATE utf8_unicode_ci NOT NULL,
  `breadcrumbs` tinyint(1) NOT NULL,
  `modified` tinyint(1) NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `resourceNode_id` int(11) DEFAULT NULL,
  `summary_displayed` tinyint(1) NOT NULL,
  `is_complete_blocking_condition` tinyint(1) NOT NULL,
  `manual_progression_allowed` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_CE19F054B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_CE19F054B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_path`
--

LOCK TABLES `innova_path` WRITE;
/*!40000 ALTER TABLE `innova_path` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_path` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_path_progression`
--

DROP TABLE IF EXISTS `innova_path_progression`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_path_progression` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `step_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `progression_status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `authorized_access` tinyint(1) NOT NULL,
  `locked_access` tinyint(1) NOT NULL,
  `lockedcall_access` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_960F966A73B21E9C` (`step_id`),
  KEY `IDX_960F966AA76ED395` (`user_id`),
  CONSTRAINT `FK_960F966A73B21E9C` FOREIGN KEY (`step_id`) REFERENCES `innova_step` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_960F966AA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_path_progression`
--

LOCK TABLES `innova_path_progression` WRITE;
/*!40000 ALTER TABLE `innova_path_progression` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_path_progression` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_path_widget_config`
--

DROP TABLE IF EXISTS `innova_path_widget_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_path_widget_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `status` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:simple_array)',
  `widgetInstance_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_C9025154AB7B5A55` (`widgetInstance_id`),
  CONSTRAINT `FK_C9025154AB7B5A55` FOREIGN KEY (`widgetInstance_id`) REFERENCES `claro_widget_instance` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_path_widget_config`
--

LOCK TABLES `innova_path_widget_config` WRITE;
/*!40000 ALTER TABLE `innova_path_widget_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_path_widget_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_path_widget_config_tags`
--

DROP TABLE IF EXISTS `innova_path_widget_config_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_path_widget_config_tags` (
  `widget_config_id` int(11) NOT NULL,
  `tag_id` int(11) NOT NULL,
  PRIMARY KEY (`widget_config_id`,`tag_id`),
  KEY `IDX_95075D98685E7B00` (`widget_config_id`),
  KEY `IDX_95075D98BAD26311` (`tag_id`),
  CONSTRAINT `FK_95075D98BAD26311` FOREIGN KEY (`tag_id`) REFERENCES `claro_tagbundle_tag` (`id`),
  CONSTRAINT `FK_95075D98685E7B00` FOREIGN KEY (`widget_config_id`) REFERENCES `innova_path_widget_config` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_path_widget_config_tags`
--

LOCK TABLES `innova_path_widget_config_tags` WRITE;
/*!40000 ALTER TABLE `innova_path_widget_config_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_path_widget_config_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_pathtemplate`
--

DROP TABLE IF EXISTS `innova_pathtemplate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_pathtemplate` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `breadcrumbs` tinyint(1) NOT NULL,
  `structure` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_pathtemplate`
--

LOCK TABLES `innova_pathtemplate` WRITE;
/*!40000 ALTER TABLE `innova_pathtemplate` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_pathtemplate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_step`
--

DROP TABLE IF EXISTS `innova_step`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_step` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `activity_id` int(11) DEFAULT NULL,
  `parameters_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `path_id` int(11) DEFAULT NULL,
  `lvl` int(11) NOT NULL,
  `step_order` int(11) NOT NULL,
  `activity_height` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_86F4856781C06096` (`activity_id`),
  KEY `IDX_86F4856788BD9C1F` (`parameters_id`),
  KEY `IDX_86F48567727ACA70` (`parent_id`),
  KEY `IDX_86F48567D96C566B` (`path_id`),
  CONSTRAINT `FK_86F48567727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `innova_step` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_86F4856781C06096` FOREIGN KEY (`activity_id`) REFERENCES `claro_activity` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_86F4856788BD9C1F` FOREIGN KEY (`parameters_id`) REFERENCES `claro_activity_parameters` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_86F48567D96C566B` FOREIGN KEY (`path_id`) REFERENCES `innova_path` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_step`
--

LOCK TABLES `innova_step` WRITE;
/*!40000 ALTER TABLE `innova_step` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_step` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_step_inherited_resources`
--

DROP TABLE IF EXISTS `innova_step_inherited_resources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_step_inherited_resources` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `step_id` int(11) NOT NULL,
  `resource_id` int(11) NOT NULL,
  `lvl` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_C7E87ECC73B21E9C` (`step_id`),
  KEY `IDX_C7E87ECC89329D25` (`resource_id`),
  CONSTRAINT `FK_C7E87ECC89329D25` FOREIGN KEY (`resource_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_C7E87ECC73B21E9C` FOREIGN KEY (`step_id`) REFERENCES `innova_step` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_step_inherited_resources`
--

LOCK TABLES `innova_step_inherited_resources` WRITE;
/*!40000 ALTER TABLE `innova_step_inherited_resources` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_step_inherited_resources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_stepcondition`
--

DROP TABLE IF EXISTS `innova_stepcondition`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_stepcondition` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `step_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_C6D7069F73B21E9C` (`step_id`),
  CONSTRAINT `FK_C6D7069F73B21E9C` FOREIGN KEY (`step_id`) REFERENCES `innova_step` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_stepcondition`
--

LOCK TABLES `innova_stepcondition` WRITE;
/*!40000 ALTER TABLE `innova_stepcondition` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_stepcondition` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_stepcondition_criteriagroup`
--

DROP TABLE IF EXISTS `innova_stepcondition_criteriagroup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_stepcondition_criteriagroup` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) DEFAULT NULL,
  `stepcondition_id` int(11) DEFAULT NULL,
  `lvl` int(11) NOT NULL,
  `criteriagroup_order` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_F33A94EA727ACA70` (`parent_id`),
  KEY `IDX_F33A94EAD71D3B68` (`stepcondition_id`),
  CONSTRAINT `FK_F33A94EAD71D3B68` FOREIGN KEY (`stepcondition_id`) REFERENCES `innova_stepcondition` (`id`),
  CONSTRAINT `FK_F33A94EA727ACA70` FOREIGN KEY (`parent_id`) REFERENCES `innova_stepcondition_criteriagroup` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_stepcondition_criteriagroup`
--

LOCK TABLES `innova_stepcondition_criteriagroup` WRITE;
/*!40000 ALTER TABLE `innova_stepcondition_criteriagroup` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_stepcondition_criteriagroup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_stepcondition_criterion`
--

DROP TABLE IF EXISTS `innova_stepcondition_criterion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_stepcondition_criterion` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `criteriagroup_id` int(11) DEFAULT NULL,
  `ctype` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `data` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_D1B1FC36E10D333F` (`criteriagroup_id`),
  CONSTRAINT `FK_D1B1FC36E10D333F` FOREIGN KEY (`criteriagroup_id`) REFERENCES `innova_stepcondition_criteriagroup` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_stepcondition_criterion`
--

LOCK TABLES `innova_stepcondition_criterion` WRITE;
/*!40000 ALTER TABLE `innova_stepcondition_criterion` DISABLE KEYS */;
/*!40000 ALTER TABLE `innova_stepcondition_criterion` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `innova_video_recorder_configuration`
--

DROP TABLE IF EXISTS `innova_video_recorder_configuration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `innova_video_recorder_configuration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `max_recording_time` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `innova_video_recorder_configuration`
--

LOCK TABLES `innova_video_recorder_configuration` WRITE;
/*!40000 ALTER TABLE `innova_video_recorder_configuration` DISABLE KEYS */;
INSERT INTO `innova_video_recorder_configuration` VALUES (1,120);
/*!40000 ALTER TABLE `innova_video_recorder_configuration` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `location_organization`
--

DROP TABLE IF EXISTS `location_organization`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `location_organization` (
  `location_id` int(11) NOT NULL,
  `organization_id` int(11) NOT NULL,
  PRIMARY KEY (`location_id`,`organization_id`),
  KEY `IDX_B049331264D218E` (`location_id`),
  KEY `IDX_B049331232C8A3DE` (`organization_id`),
  CONSTRAINT `FK_B049331232C8A3DE` FOREIGN KEY (`organization_id`) REFERENCES `claro__organization` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B049331264D218E` FOREIGN KEY (`location_id`) REFERENCES `claro__location` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `location_organization`
--

LOCK TABLES `location_organization` WRITE;
/*!40000 ALTER TABLE `location_organization` DISABLE KEYS */;
/*!40000 ALTER TABLE `location_organization` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource`
--

DROP TABLE IF EXISTS `media_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `options_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_B3F0DAA43ADB05F1` (`options_id`),
  UNIQUE KEY `UNIQ_B3F0DAA4B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_B3F0DAA4B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B3F0DAA43ADB05F1` FOREIGN KEY (`options_id`) REFERENCES `media_resource_options` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource`
--

LOCK TABLES `media_resource` WRITE;
/*!40000 ALTER TABLE `media_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_help_link`
--

DROP TABLE IF EXISTS `media_resource_help_link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_help_link` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `region_config_id` int(11) NOT NULL,
  `url` varchar(510) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_F1D62D0C771B52B7` (`region_config_id`),
  CONSTRAINT `FK_F1D62D0C771B52B7` FOREIGN KEY (`region_config_id`) REFERENCES `media_resource_region_config` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_help_link`
--

LOCK TABLES `media_resource_help_link` WRITE;
/*!40000 ALTER TABLE `media_resource_help_link` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_help_link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_help_text`
--

DROP TABLE IF EXISTS `media_resource_help_text`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_help_text` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `region_config_id` int(11) NOT NULL,
  `text` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_FCF1133A771B52B7` (`region_config_id`),
  CONSTRAINT `FK_FCF1133A771B52B7` FOREIGN KEY (`region_config_id`) REFERENCES `media_resource_region_config` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_help_text`
--

LOCK TABLES `media_resource_help_text` WRITE;
/*!40000 ALTER TABLE `media_resource_help_text` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_help_text` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_media`
--

DROP TABLE IF EXISTS `media_resource_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_media` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `media_resource_id` int(11) NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_E0A22F7E7E5AEFB6` (`media_resource_id`),
  CONSTRAINT `FK_E0A22F7E7E5AEFB6` FOREIGN KEY (`media_resource_id`) REFERENCES `media_resource` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_media`
--

LOCK TABLES `media_resource_media` WRITE;
/*!40000 ALTER TABLE `media_resource_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_media` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_options`
--

DROP TABLE IF EXISTS `media_resource_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `mode` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `showTextTranscription` tinyint(1) NOT NULL DEFAULT '0',
  `ttsLanguage` varchar(5) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_options`
--

LOCK TABLES `media_resource_options` WRITE;
/*!40000 ALTER TABLE `media_resource_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_options` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_region`
--

DROP TABLE IF EXISTS `media_resource_region`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_region` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `media_resource_id` int(11) NOT NULL,
  `start` double NOT NULL,
  `end` double NOT NULL,
  `note` longtext COLLATE utf8_unicode_ci,
  `uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_B1E36FE87E5AEFB6` (`media_resource_id`),
  CONSTRAINT `FK_B1E36FE87E5AEFB6` FOREIGN KEY (`media_resource_id`) REFERENCES `media_resource` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_region`
--

LOCK TABLES `media_resource_region` WRITE;
/*!40000 ALTER TABLE `media_resource_region` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_region` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `media_resource_region_config`
--

DROP TABLE IF EXISTS `media_resource_region_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media_resource_region_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `region_id` int(11) NOT NULL,
  `has_loop` tinyint(1) NOT NULL,
  `has_backward` tinyint(1) NOT NULL,
  `has_rate` tinyint(1) NOT NULL,
  `help_region_uuid` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_2EEE09F098260155` (`region_id`),
  CONSTRAINT `FK_2EEE09F098260155` FOREIGN KEY (`region_id`) REFERENCES `media_resource_region` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `media_resource_region_config`
--

LOCK TABLES `media_resource_region_config` WRITE;
/*!40000 ALTER TABLE `media_resource_region_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `media_resource_region_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `session_card_new`
--

DROP TABLE IF EXISTS `session_card_new`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `session_card_new` (
  `session_id` int(11) NOT NULL,
  `card_id` int(11) NOT NULL,
  PRIMARY KEY (`session_id`,`card_id`),
  KEY `IDX_B0BFA0EC613FECDF` (`session_id`),
  KEY `IDX_B0BFA0EC4ACC9A20` (`card_id`),
  CONSTRAINT `FK_B0BFA0EC4ACC9A20` FOREIGN KEY (`card_id`) REFERENCES `claro_fcbundle_card` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B0BFA0EC613FECDF` FOREIGN KEY (`session_id`) REFERENCES `claro_fcbundle_session` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `session_card_new`
--

LOCK TABLES `session_card_new` WRITE;
/*!40000 ALTER TABLE `session_card_new` DISABLE KEYS */;
/*!40000 ALTER TABLE `session_card_new` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `session_card_old`
--

DROP TABLE IF EXISTS `session_card_old`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `session_card_old` (
  `session_id` int(11) NOT NULL,
  `card_id` int(11) NOT NULL,
  PRIMARY KEY (`session_id`,`card_id`),
  KEY `IDX_E401304C613FECDF` (`session_id`),
  KEY `IDX_E401304C4ACC9A20` (`card_id`),
  CONSTRAINT `FK_E401304C4ACC9A20` FOREIGN KEY (`card_id`) REFERENCES `claro_fcbundle_card` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_E401304C613FECDF` FOREIGN KEY (`session_id`) REFERENCES `claro_fcbundle_session` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `session_card_old`
--

LOCK TABLES `session_card_old` WRITE;
/*!40000 ALTER TABLE `session_card_old` DISABLE KEYS */;
/*!40000 ALTER TABLE `session_card_old` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_answer_hints`
--

DROP TABLE IF EXISTS `ujm_answer_hints`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_answer_hints` (
  `answer_id` int(11) NOT NULL,
  `hint_id` int(11) NOT NULL,
  PRIMARY KEY (`answer_id`,`hint_id`),
  UNIQUE KEY `UNIQ_70DF26E3519161AB` (`hint_id`),
  KEY `IDX_70DF26E3AA334807` (`answer_id`),
  CONSTRAINT `FK_70DF26E3519161AB` FOREIGN KEY (`hint_id`) REFERENCES `ujm_hint` (`id`),
  CONSTRAINT `FK_70DF26E3AA334807` FOREIGN KEY (`answer_id`) REFERENCES `ujm_response` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_answer_hints`
--

LOCK TABLES `ujm_answer_hints` WRITE;
/*!40000 ALTER TABLE `ujm_answer_hints` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_answer_hints` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_association`
--

DROP TABLE IF EXISTS `ujm_association`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_association` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `match_question_id` int(11) DEFAULT NULL,
  `label_id` int(11) DEFAULT NULL,
  `proposal_id` int(11) DEFAULT NULL,
  `score` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_2DD0DD0F2CBE8797` (`match_question_id`),
  KEY `IDX_2DD0DD0F33B92F39` (`label_id`),
  KEY `IDX_2DD0DD0FF4792058` (`proposal_id`),
  CONSTRAINT `FK_2DD0DD0FF4792058` FOREIGN KEY (`proposal_id`) REFERENCES `ujm_proposal` (`id`),
  CONSTRAINT `FK_2DD0DD0F2CBE8797` FOREIGN KEY (`match_question_id`) REFERENCES `ujm_interaction_matching` (`id`),
  CONSTRAINT `FK_2DD0DD0F33B92F39` FOREIGN KEY (`label_id`) REFERENCES `ujm_label` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_association`
--

LOCK TABLES `ujm_association` WRITE;
/*!40000 ALTER TABLE `ujm_association` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_association` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_category`
--

DROP TABLE IF EXISTS `ujm_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_category` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `locker` tinyint(1) NOT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_9FDB39F8D17F50A6` (`uuid`),
  KEY `IDX_9FDB39F8A76ED395` (`user_id`),
  CONSTRAINT `FK_9FDB39F8A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_category`
--

LOCK TABLES `ujm_category` WRITE;
/*!40000 ALTER TABLE `ujm_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_choice`
--

DROP TABLE IF EXISTS `ujm_choice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_choice` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_qcm_id` int(11) DEFAULT NULL,
  `data` longtext COLLATE utf8_unicode_ci,
  `entity_order` int(11) NOT NULL,
  `score` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  `expected` tinyint(1) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_D4BDFA95D17F50A6` (`uuid`),
  KEY `IDX_D4BDFA959DBF539` (`interaction_qcm_id`),
  KEY `IDX_D4BDFA95B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_D4BDFA959DBF539` FOREIGN KEY (`interaction_qcm_id`) REFERENCES `ujm_interaction_qcm` (`id`),
  CONSTRAINT `FK_D4BDFA95B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_choice`
--

LOCK TABLES `ujm_choice` WRITE;
/*!40000 ALTER TABLE `ujm_choice` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_choice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_coords`
--

DROP TABLE IF EXISTS `ujm_coords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_coords` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_graphic_id` int(11) DEFAULT NULL,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `shape` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `score` double NOT NULL,
  `size` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_CD7B4982D17F50A6` (`uuid`),
  KEY `IDX_CD7B49827876D500` (`interaction_graphic_id`),
  CONSTRAINT `FK_CD7B49827876D500` FOREIGN KEY (`interaction_graphic_id`) REFERENCES `ujm_interaction_graphic` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_coords`
--

LOCK TABLES `ujm_coords` WRITE;
/*!40000 ALTER TABLE `ujm_coords` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_coords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_document`
--

DROP TABLE IF EXISTS `ujm_document`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_document` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_41FEAA4FA76ED395` (`user_id`),
  CONSTRAINT `FK_41FEAA4FA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_document`
--

LOCK TABLES `ujm_document` WRITE;
/*!40000 ALTER TABLE `ujm_document` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_document` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_document_interaction`
--

DROP TABLE IF EXISTS `ujm_document_interaction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_document_interaction` (
  `interaction_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  PRIMARY KEY (`interaction_id`,`document_id`),
  KEY `IDX_FF792E7A886DEE8F` (`interaction_id`),
  KEY `IDX_FF792E7AC33F7837` (`document_id`),
  CONSTRAINT `FK_FF792E7AC33F7837` FOREIGN KEY (`document_id`) REFERENCES `ujm_document` (`id`),
  CONSTRAINT `FK_FF792E7A886DEE8F` FOREIGN KEY (`interaction_id`) REFERENCES `ujm_interaction` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_document_interaction`
--

LOCK TABLES `ujm_document_interaction` WRITE;
/*!40000 ALTER TABLE `ujm_document_interaction` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_document_interaction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_document_question`
--

DROP TABLE IF EXISTS `ujm_document_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_document_question` (
  `question_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  PRIMARY KEY (`question_id`,`document_id`),
  KEY `IDX_52D4A3F11E27F6BF` (`question_id`),
  KEY `IDX_52D4A3F1C33F7837` (`document_id`),
  CONSTRAINT `FK_52D4A3F1C33F7837` FOREIGN KEY (`document_id`) REFERENCES `ujm_document` (`id`),
  CONSTRAINT `FK_52D4A3F11E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_document_question`
--

LOCK TABLES `ujm_document_question` WRITE;
/*!40000 ALTER TABLE `ujm_document_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_document_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_exercise`
--

DROP TABLE IF EXISTS `ujm_exercise`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_exercise` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `description` longtext COLLATE utf8_unicode_ci,
  `pick` int(11) NOT NULL,
  `duration` int(11) NOT NULL,
  `max_attempts` int(11) NOT NULL,
  `correction_mode` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `date_correction` datetime DEFAULT NULL,
  `mark_mode` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `interruptible` tinyint(1) NOT NULL,
  `published` tinyint(1) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `anonymous` tinyint(1) DEFAULT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `metadata_visible` tinyint(1) NOT NULL,
  `statistics` tinyint(1) NOT NULL,
  `minimal_correction` tinyint(1) NOT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `random_order` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `random_pick` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `show_feedback` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_374DF525D17F50A6` (`uuid`),
  UNIQUE KEY `UNIQ_374DF525B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_374DF525B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_exercise`
--

LOCK TABLES `ujm_exercise` WRITE;
/*!40000 ALTER TABLE `ujm_exercise` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_exercise` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_exercise_group`
--

DROP TABLE IF EXISTS `ujm_exercise_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_exercise_group` (
  `exercise_id` int(11) NOT NULL,
  `group_id` int(11) NOT NULL,
  PRIMARY KEY (`exercise_id`,`group_id`),
  KEY `IDX_78179004E934951A` (`exercise_id`),
  KEY `IDX_78179004FE54D947` (`group_id`),
  CONSTRAINT `FK_78179004FE54D947` FOREIGN KEY (`group_id`) REFERENCES `ujm_group` (`id`),
  CONSTRAINT `FK_78179004E934951A` FOREIGN KEY (`exercise_id`) REFERENCES `ujm_exercise` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_exercise_group`
--

LOCK TABLES `ujm_exercise_group` WRITE;
/*!40000 ALTER TABLE `ujm_exercise_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_exercise_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_exercise_question`
--

DROP TABLE IF EXISTS `ujm_exercise_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_exercise_question` (
  `exercise_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `ordre` int(11) NOT NULL,
  PRIMARY KEY (`exercise_id`,`question_id`),
  KEY `IDX_DB79F240E934951A` (`exercise_id`),
  KEY `IDX_DB79F2401E27F6BF` (`question_id`),
  CONSTRAINT `FK_DB79F2401E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_DB79F240E934951A` FOREIGN KEY (`exercise_id`) REFERENCES `ujm_exercise` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_exercise_question`
--

LOCK TABLES `ujm_exercise_question` WRITE;
/*!40000 ALTER TABLE `ujm_exercise_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_exercise_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_expertise`
--

DROP TABLE IF EXISTS `ujm_expertise`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_expertise` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_expertise`
--

LOCK TABLES `ujm_expertise` WRITE;
/*!40000 ALTER TABLE `ujm_expertise` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_expertise` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_expertise_user`
--

DROP TABLE IF EXISTS `ujm_expertise_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_expertise_user` (
  `expertise_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`expertise_id`,`user_id`),
  KEY `IDX_F60D61B9D5B92F9` (`expertise_id`),
  KEY `IDX_F60D61BA76ED395` (`user_id`),
  CONSTRAINT `FK_F60D61BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_F60D61B9D5B92F9` FOREIGN KEY (`expertise_id`) REFERENCES `ujm_expertise` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_expertise_user`
--

LOCK TABLES `ujm_expertise_user` WRITE;
/*!40000 ALTER TABLE `ujm_expertise_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_expertise_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_grid_item`
--

DROP TABLE IF EXISTS `ujm_grid_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_grid_item` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `coordsX` int(11) DEFAULT NULL,
  `coordsY` int(11) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `data` longtext COLLATE utf8_unicode_ci,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_66B59764D17F50A6` (`uuid`),
  KEY `IDX_66B59764B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_66B59764B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_grid_item`
--

LOCK TABLES `ujm_grid_item` WRITE;
/*!40000 ALTER TABLE `ujm_grid_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_grid_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_grid_odd`
--

DROP TABLE IF EXISTS `ujm_grid_odd`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_grid_odd` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) DEFAULT NULL,
  `pair_question_id` int(11) DEFAULT NULL,
  `score` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_858E80E4126F525E` (`item_id`),
  KEY `IDX_858E80E4B745DCF` (`pair_question_id`),
  CONSTRAINT `FK_858E80E4B745DCF` FOREIGN KEY (`pair_question_id`) REFERENCES `ujm_question_pair` (`id`),
  CONSTRAINT `FK_858E80E4126F525E` FOREIGN KEY (`item_id`) REFERENCES `ujm_grid_item` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_grid_odd`
--

LOCK TABLES `ujm_grid_odd` WRITE;
/*!40000 ALTER TABLE `ujm_grid_odd` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_grid_odd` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_grid_row`
--

DROP TABLE IF EXISTS `ujm_grid_row`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_grid_row` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pair_question_id` int(11) DEFAULT NULL,
  `ordered` tinyint(1) NOT NULL,
  `score` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_F63A28D2B745DCF` (`pair_question_id`),
  CONSTRAINT `FK_F63A28D2B745DCF` FOREIGN KEY (`pair_question_id`) REFERENCES `ujm_question_pair` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_grid_row`
--

LOCK TABLES `ujm_grid_row` WRITE;
/*!40000 ALTER TABLE `ujm_grid_row` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_grid_row` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_grid_row_item`
--

DROP TABLE IF EXISTS `ujm_grid_row_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_grid_row_item` (
  `row_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `entity_order` int(11) NOT NULL,
  PRIMARY KEY (`row_id`,`item_id`),
  KEY `IDX_BF97D89083A269F2` (`row_id`),
  KEY `IDX_BF97D890126F525E` (`item_id`),
  CONSTRAINT `FK_BF97D890126F525E` FOREIGN KEY (`item_id`) REFERENCES `ujm_grid_item` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_BF97D89083A269F2` FOREIGN KEY (`row_id`) REFERENCES `ujm_grid_row` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_grid_row_item`
--

LOCK TABLES `ujm_grid_row_item` WRITE;
/*!40000 ALTER TABLE `ujm_grid_row_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_grid_row_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_group`
--

DROP TABLE IF EXISTS `ujm_group`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_group`
--

LOCK TABLES `ujm_group` WRITE;
/*!40000 ALTER TABLE `ujm_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_group` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_hint`
--

DROP TABLE IF EXISTS `ujm_hint`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_hint` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `data` longtext COLLATE utf8_unicode_ci,
  `penalty` double NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_B5FFCBE7D17F50A6` (`uuid`),
  KEY `IDX_B5FFCBE71E27F6BF` (`question_id`),
  KEY `IDX_B5FFCBE7B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_B5FFCBE71E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`),
  CONSTRAINT `FK_B5FFCBE7B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_hint`
--

LOCK TABLES `ujm_hint` WRITE;
/*!40000 ALTER TABLE `ujm_hint` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_hint` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_hole`
--

DROP TABLE IF EXISTS `ujm_hole`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_hole` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_hole_id` int(11) DEFAULT NULL,
  `size` int(11) NOT NULL,
  `position` int(11) DEFAULT NULL,
  `selector` tinyint(1) NOT NULL,
  `placeholder` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_E9F4F525D17F50A6` (`uuid`),
  KEY `IDX_E9F4F52575EBD64D` (`interaction_hole_id`),
  CONSTRAINT `FK_E9F4F52575EBD64D` FOREIGN KEY (`interaction_hole_id`) REFERENCES `ujm_interaction_hole` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_hole`
--

LOCK TABLES `ujm_hole` WRITE;
/*!40000 ALTER TABLE `ujm_hole` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_hole` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction`
--

DROP TABLE IF EXISTS `ujm_interaction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `invite` longtext COLLATE utf8_unicode_ci NOT NULL,
  `ordre` int(11) DEFAULT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  `locked_expertise` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_E7D801641E27F6BF` (`question_id`),
  CONSTRAINT `FK_E7D801641E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction`
--

LOCK TABLES `ujm_interaction` WRITE;
/*!40000 ALTER TABLE `ujm_interaction` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction_graphic`
--

DROP TABLE IF EXISTS `ujm_interaction_graphic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction_graphic` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `image_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_9EBD442F1E27F6BF` (`question_id`),
  KEY `IDX_9EBD442F3DA5256D` (`image_id`),
  CONSTRAINT `FK_9EBD442F1E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`),
  CONSTRAINT `FK_9EBD442F3DA5256D` FOREIGN KEY (`image_id`) REFERENCES `ujm_picture` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction_graphic`
--

LOCK TABLES `ujm_interaction_graphic` WRITE;
/*!40000 ALTER TABLE `ujm_interaction_graphic` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction_graphic` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction_hole`
--

DROP TABLE IF EXISTS `ujm_interaction_hole`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction_hole` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `htmlWithoutValue` longtext COLLATE utf8_unicode_ci NOT NULL,
  `originalText` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_7343FAC11E27F6BF` (`question_id`),
  CONSTRAINT `FK_7343FAC11E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction_hole`
--

LOCK TABLES `ujm_interaction_hole` WRITE;
/*!40000 ALTER TABLE `ujm_interaction_hole` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction_hole` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction_matching`
--

DROP TABLE IF EXISTS `ujm_interaction_matching`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction_matching` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `shuffle` tinyint(1) NOT NULL,
  `penalty` double NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_AC9801C71E27F6BF` (`question_id`),
  CONSTRAINT `FK_AC9801C71E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction_matching`
--

LOCK TABLES `ujm_interaction_matching` WRITE;
/*!40000 ALTER TABLE `ujm_interaction_matching` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction_matching` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction_open`
--

DROP TABLE IF EXISTS `ujm_interaction_open`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction_open` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `maxAnswerLength` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_BFFE44F41E27F6BF` (`question_id`),
  CONSTRAINT `FK_BFFE44F41E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction_open`
--

LOCK TABLES `ujm_interaction_open` WRITE;
/*!40000 ALTER TABLE `ujm_interaction_open` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction_open` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_interaction_qcm`
--

DROP TABLE IF EXISTS `ujm_interaction_qcm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_interaction_qcm` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `shuffle` tinyint(1) NOT NULL,
  `multiple` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_58C3D5A11E27F6BF` (`question_id`),
  CONSTRAINT `FK_58C3D5A11E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_interaction_qcm`
--

LOCK TABLES `ujm_interaction_qcm` WRITE;
/*!40000 ALTER TABLE `ujm_interaction_qcm` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_interaction_qcm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_label`
--

DROP TABLE IF EXISTS `ujm_label`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_label` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_matching_id` int(11) DEFAULT NULL,
  `data` longtext COLLATE utf8_unicode_ci,
  `entity_order` int(11) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_C22A1EB5D17F50A6` (`uuid`),
  KEY `IDX_C22A1EB5FAB79C10` (`interaction_matching_id`),
  KEY `IDX_C22A1EB5B87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_C22A1EB5B87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_C22A1EB5FAB79C10` FOREIGN KEY (`interaction_matching_id`) REFERENCES `ujm_interaction_matching` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_label`
--

LOCK TABLES `ujm_label` WRITE;
/*!40000 ALTER TABLE `ujm_label` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_label` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_link_hint_paper`
--

DROP TABLE IF EXISTS `ujm_link_hint_paper`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_link_hint_paper` (
  `hint_id` int(11) NOT NULL,
  `paper_id` int(11) NOT NULL,
  `view` tinyint(1) NOT NULL,
  PRIMARY KEY (`hint_id`,`paper_id`),
  KEY `IDX_B76F00F9519161AB` (`hint_id`),
  KEY `IDX_B76F00F9E6758861` (`paper_id`),
  CONSTRAINT `FK_B76F00F9E6758861` FOREIGN KEY (`paper_id`) REFERENCES `ujm_paper` (`id`),
  CONSTRAINT `FK_B76F00F9519161AB` FOREIGN KEY (`hint_id`) REFERENCES `ujm_hint` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_link_hint_paper`
--

LOCK TABLES `ujm_link_hint_paper` WRITE;
/*!40000 ALTER TABLE `ujm_link_hint_paper` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_link_hint_paper` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_lock_attempt`
--

DROP TABLE IF EXISTS `ujm_lock_attempt`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_lock_attempt` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `paper_id` int(11) DEFAULT NULL,
  `key_lock` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `date` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_7A7CDF96E6758861` (`paper_id`),
  CONSTRAINT `FK_7A7CDF96E6758861` FOREIGN KEY (`paper_id`) REFERENCES `ujm_paper` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_lock_attempt`
--

LOCK TABLES `ujm_lock_attempt` WRITE;
/*!40000 ALTER TABLE `ujm_lock_attempt` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_lock_attempt` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_object_question`
--

DROP TABLE IF EXISTS `ujm_object_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_object_question` (
  `question_id` int(11) DEFAULT NULL,
  `entity_order` int(11) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  KEY `IDX_F91814BFB87FAB32` (`resourceNode_id`),
  KEY `IDX_F91814BF1E27F6BF` (`question_id`),
  CONSTRAINT `FK_F91814BF1E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F91814BFB87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_object_question`
--

LOCK TABLES `ujm_object_question` WRITE;
/*!40000 ALTER TABLE `ujm_object_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_object_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_paper`
--

DROP TABLE IF EXISTS `ujm_paper`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_paper` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `exercise_id` int(11) DEFAULT NULL,
  `num_paper` int(11) NOT NULL,
  `start` datetime NOT NULL,
  `end` datetime DEFAULT NULL,
  `ordre_question` longtext COLLATE utf8_unicode_ci,
  `interupt` tinyint(1) DEFAULT NULL,
  `score` double DEFAULT NULL,
  `anonymous` tinyint(1) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `invalidated` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_82972E4BD17F50A6` (`uuid`),
  KEY `IDX_82972E4BA76ED395` (`user_id`),
  KEY `IDX_82972E4BE934951A` (`exercise_id`),
  CONSTRAINT `FK_82972E4BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`),
  CONSTRAINT `FK_82972E4BE934951A` FOREIGN KEY (`exercise_id`) REFERENCES `ujm_exercise` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_paper`
--

LOCK TABLES `ujm_paper` WRITE;
/*!40000 ALTER TABLE `ujm_paper` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_paper` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_picture`
--

DROP TABLE IF EXISTS `ujm_picture`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_picture` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `width` int(11) NOT NULL,
  `height` int(11) NOT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_88AACC8AD17F50A6` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_picture`
--

LOCK TABLES `ujm_picture` WRITE;
/*!40000 ALTER TABLE `ujm_picture` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_picture` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_planning`
--

DROP TABLE IF EXISTS `ujm_planning`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_planning` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `group_id` int(11) DEFAULT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_4D0E9FCFFE54D947` (`group_id`),
  CONSTRAINT `FK_4D0E9FCFFE54D947` FOREIGN KEY (`group_id`) REFERENCES `ujm_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_planning`
--

LOCK TABLES `ujm_planning` WRITE;
/*!40000 ALTER TABLE `ujm_planning` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_planning` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_proposal`
--

DROP TABLE IF EXISTS `ujm_proposal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_proposal` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_matching_id` int(11) DEFAULT NULL,
  `data` longtext COLLATE utf8_unicode_ci,
  `entity_order` int(11) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_2672B44BD17F50A6` (`uuid`),
  KEY `IDX_2672B44BFAB79C10` (`interaction_matching_id`),
  KEY `IDX_2672B44BB87FAB32` (`resourceNode_id`),
  CONSTRAINT `FK_2672B44BB87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`),
  CONSTRAINT `FK_2672B44BFAB79C10` FOREIGN KEY (`interaction_matching_id`) REFERENCES `ujm_interaction_matching` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_proposal`
--

LOCK TABLES `ujm_proposal` WRITE;
/*!40000 ALTER TABLE `ujm_proposal` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_proposal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_proposal_label`
--

DROP TABLE IF EXISTS `ujm_proposal_label`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_proposal_label` (
  `proposal_id` int(11) NOT NULL,
  `label_id` int(11) NOT NULL,
  PRIMARY KEY (`proposal_id`,`label_id`),
  KEY `IDX_F9B1BA4AF4792058` (`proposal_id`),
  KEY `IDX_F9B1BA4A33B92F39` (`label_id`),
  CONSTRAINT `FK_F9B1BA4A33B92F39` FOREIGN KEY (`label_id`) REFERENCES `ujm_label` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_F9B1BA4AF4792058` FOREIGN KEY (`proposal_id`) REFERENCES `ujm_proposal` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_proposal_label`
--

LOCK TABLES `ujm_proposal_label` WRITE;
/*!40000 ALTER TABLE `ujm_proposal_label` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_proposal_label` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_question`
--

DROP TABLE IF EXISTS `ujm_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_question` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `date_create` datetime NOT NULL,
  `date_modify` datetime DEFAULT NULL,
  `model` tinyint(1) NOT NULL,
  `invite` longtext COLLATE utf8_unicode_ci NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  `mime_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `scoreRule` longtext COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_2F606977D17F50A6` (`uuid`),
  KEY `IDX_2F606977A76ED395` (`user_id`),
  KEY `IDX_2F60697712469DE2` (`category_id`),
  CONSTRAINT `FK_2F606977A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE SET NULL,
  CONSTRAINT `FK_2F60697712469DE2` FOREIGN KEY (`category_id`) REFERENCES `ujm_category` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_question`
--

LOCK TABLES `ujm_question` WRITE;
/*!40000 ALTER TABLE `ujm_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_question_pair`
--

DROP TABLE IF EXISTS `ujm_question_pair`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_question_pair` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `shuffle` tinyint(1) NOT NULL,
  `penalty` double NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_36819691E27F6BF` (`question_id`),
  CONSTRAINT `FK_36819691E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_question_pair`
--

LOCK TABLES `ujm_question_pair` WRITE;
/*!40000 ALTER TABLE `ujm_question_pair` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_question_pair` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_question_pair_items`
--

DROP TABLE IF EXISTS `ujm_question_pair_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_question_pair_items` (
  `question_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  PRIMARY KEY (`question_id`,`item_id`),
  UNIQUE KEY `UNIQ_D5F9CF05126F525E` (`item_id`),
  KEY `IDX_D5F9CF051E27F6BF` (`question_id`),
  CONSTRAINT `FK_D5F9CF05126F525E` FOREIGN KEY (`item_id`) REFERENCES `ujm_grid_item` (`id`),
  CONSTRAINT `FK_D5F9CF051E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question_pair` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_question_pair_items`
--

LOCK TABLES `ujm_question_pair_items` WRITE;
/*!40000 ALTER TABLE `ujm_question_pair_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_question_pair_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_question_resource`
--

DROP TABLE IF EXISTS `ujm_question_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_question_resource` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) DEFAULT NULL,
  `entity_order` int(11) NOT NULL,
  `resourceNode_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_B47B5FFCB87FAB32` (`resourceNode_id`),
  KEY `IDX_B47B5FFC1E27F6BF` (`question_id`),
  CONSTRAINT `FK_B47B5FFC1E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_B47B5FFCB87FAB32` FOREIGN KEY (`resourceNode_id`) REFERENCES `claro_resource_node` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_question_resource`
--

LOCK TABLES `ujm_question_resource` WRITE;
/*!40000 ALTER TABLE `ujm_question_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_question_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_response`
--

DROP TABLE IF EXISTS `ujm_response`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_response` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `paper_id` int(11) DEFAULT NULL,
  `question_id` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `ip` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `mark` double DEFAULT NULL,
  `nb_tries` int(11) NOT NULL,
  `response` longtext COLLATE utf8_unicode_ci,
  `used_hints` longtext COLLATE utf8_unicode_ci COMMENT '(DC2Type:simple_array)',
  `feedback` longtext COLLATE utf8_unicode_ci,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_A7EC2BC2D17F50A6` (`uuid`),
  KEY `IDX_A7EC2BC2E6758861` (`paper_id`),
  CONSTRAINT `FK_A7EC2BC2E6758861` FOREIGN KEY (`paper_id`) REFERENCES `ujm_paper` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_response`
--

LOCK TABLES `ujm_response` WRITE;
/*!40000 ALTER TABLE `ujm_response` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_response` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_share`
--

DROP TABLE IF EXISTS `ujm_share`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_share` (
  `user_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `adminRights` tinyint(1) NOT NULL,
  PRIMARY KEY (`user_id`,`question_id`),
  KEY `IDX_238BD307A76ED395` (`user_id`),
  KEY `IDX_238BD3071E27F6BF` (`question_id`),
  CONSTRAINT `FK_238BD307A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_238BD3071E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_share`
--

LOCK TABLES `ujm_share` WRITE;
/*!40000 ALTER TABLE `ujm_share` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_share` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_step`
--

DROP TABLE IF EXISTS `ujm_step`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_step` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `exercise_id` int(11) DEFAULT NULL,
  `description` longtext COLLATE utf8_unicode_ci,
  `pick` int(11) NOT NULL,
  `duration` int(11) NOT NULL,
  `max_attempts` int(11) NOT NULL,
  `entity_order` int(11) NOT NULL,
  `title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL,
  `random_order` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `random_pick` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_C2803688D17F50A6` (`uuid`),
  KEY `IDX_C2803688E934951A` (`exercise_id`),
  CONSTRAINT `FK_C2803688E934951A` FOREIGN KEY (`exercise_id`) REFERENCES `ujm_exercise` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_step`
--

LOCK TABLES `ujm_step` WRITE;
/*!40000 ALTER TABLE `ujm_step` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_step` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_step_question`
--

DROP TABLE IF EXISTS `ujm_step_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_step_question` (
  `step_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `entity_order` int(11) NOT NULL,
  PRIMARY KEY (`step_id`,`question_id`),
  KEY `IDX_D22EA1CE73B21E9C` (`step_id`),
  KEY `IDX_D22EA1CE1E27F6BF` (`question_id`),
  CONSTRAINT `FK_D22EA1CE1E27F6BF` FOREIGN KEY (`question_id`) REFERENCES `ujm_question` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_D22EA1CE73B21E9C` FOREIGN KEY (`step_id`) REFERENCES `ujm_step` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_step_question`
--

LOCK TABLES `ujm_step_question` WRITE;
/*!40000 ALTER TABLE `ujm_step_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_step_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_subscription`
--

DROP TABLE IF EXISTS `ujm_subscription`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_subscription` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `exercise_id` int(11) DEFAULT NULL,
  `creator` tinyint(1) NOT NULL,
  `admin` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `IDX_A17BA225A76ED395` (`user_id`),
  KEY `IDX_A17BA225E934951A` (`exercise_id`),
  CONSTRAINT `FK_A17BA225E934951A` FOREIGN KEY (`exercise_id`) REFERENCES `ujm_exercise` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_A17BA225A76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_subscription`
--

LOCK TABLES `ujm_subscription` WRITE;
/*!40000 ALTER TABLE `ujm_subscription` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_subscription` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_type_matching`
--

DROP TABLE IF EXISTS `ujm_type_matching`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_type_matching` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `code` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_45333F9A77153098` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_type_matching`
--

LOCK TABLES `ujm_type_matching` WRITE;
/*!40000 ALTER TABLE `ujm_type_matching` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_type_matching` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_type_open_question`
--

DROP TABLE IF EXISTS `ujm_type_open_question`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_type_open_question` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `code` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_ABC1CC4777153098` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_type_open_question`
--

LOCK TABLES `ujm_type_open_question` WRITE;
/*!40000 ALTER TABLE `ujm_type_open_question` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_type_open_question` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_type_qcm`
--

DROP TABLE IF EXISTS `ujm_type_qcm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_type_qcm` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `code` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_4C21382C77153098` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_type_qcm`
--

LOCK TABLES `ujm_type_qcm` WRITE;
/*!40000 ALTER TABLE `ujm_type_qcm` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_type_qcm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_unit`
--

DROP TABLE IF EXISTS `ujm_unit`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_unit` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_unit`
--

LOCK TABLES `ujm_unit` WRITE;
/*!40000 ALTER TABLE `ujm_unit` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_unit` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ujm_word_response`
--

DROP TABLE IF EXISTS `ujm_word_response`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ujm_word_response` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interaction_open_id` int(11) DEFAULT NULL,
  `hole_id` int(11) DEFAULT NULL,
  `response` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `caseSensitive` tinyint(1) DEFAULT NULL,
  `score` double NOT NULL,
  `feedback` longtext COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `IDX_4E1930C598DDBDFD` (`interaction_open_id`),
  KEY `IDX_4E1930C515ADE12C` (`hole_id`),
  CONSTRAINT `FK_4E1930C515ADE12C` FOREIGN KEY (`hole_id`) REFERENCES `ujm_hole` (`id`),
  CONSTRAINT `FK_4E1930C598DDBDFD` FOREIGN KEY (`interaction_open_id`) REFERENCES `ujm_interaction_open` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ujm_word_response`
--

LOCK TABLES `ujm_word_response` WRITE;
/*!40000 ALTER TABLE `ujm_word_response` DISABLE KEYS */;
/*!40000 ALTER TABLE `ujm_word_response` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_organization`
--

DROP TABLE IF EXISTS `user_organization`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_organization` (
  `user_id` int(11) NOT NULL,
  `organization_id` int(11) NOT NULL,
  PRIMARY KEY (`user_id`,`organization_id`),
  KEY `IDX_41221F7EA76ED395` (`user_id`),
  KEY `IDX_41221F7E32C8A3DE` (`organization_id`),
  CONSTRAINT `FK_41221F7E32C8A3DE` FOREIGN KEY (`organization_id`) REFERENCES `claro__organization` (`id`) ON DELETE CASCADE,
  CONSTRAINT `FK_41221F7EA76ED395` FOREIGN KEY (`user_id`) REFERENCES `claro_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_organization`
--

LOCK TABLES `user_organization` WRITE;
/*!40000 ALTER TABLE `user_organization` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_organization` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2017-02-16 15:03:55
