-- -----------------------------------------------------
-- Table `image_annotation`.`Species_map`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Species_map` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Species_map` (
`ubio_id` INT(11) NOT NULL ,
`po_species_id` INT(11) NOT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Annotated_term_type`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Annotated_term_type` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Annotated_term_type` (
`annotated_term_type_id` INT(11) NOT NULL ,
`annotated_term_type` VARCHAR(45) NULL DEFAULT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Annotated_term`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Annotated_term` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Annotated_term` (
`annotated_term_id` INT(11) NOT NULL ,
`annotated_term` VARCHAR(45) NULL DEFAULT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Annotated_image`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Annotated_image` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Annotated_image` (
`annotated_image_id` INT(11) NOT NULL ,
`image_path` VARCHAR(255) NULL DEFAULT NULL ,
`curator` VARCHAR(45) NULL DEFAULT NULL ,
`comments` VARCHAR(45) NULL DEFAULT NULL ,
- `annotated_keywordlist_id` INT(11) NULL DEFAULT NULL ,
`annotated_term_id` INT(11) NULL DEFAULT NULL ,
`ubio_id` INT(11) NULL DEFAULT NULL ,
`ubio_name` VARCHAR(45) NULL DEFAULT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Annotated_keyword`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Annotated_keyword` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Annotated_keyword` (
`annotated_keyword_id` INT(11) NOT NULL ,
`annotated_keyword` VARCHAR(45) NULL DEFAULT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Annotated_keywordlist`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Annotated_keywordlist` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Annotated_keywordlist` (
`annotated_image_id` INT(11) NOT NULL ,
`annotated_keyword_id` INT(11) NOT NULL ,
-- -----------------------------------------------------
-- Table `image_annotation`.`Segment`
-- -----------------------------------------------------
+DROP TABLE IF EXISTS `image_annotation`.`Segment` ;
+
CREATE TABLE IF NOT EXISTS `image_annotation`.`Segment` (
`segment_id` INT(11) NOT NULL ,
`color` VARCHAR(45) NULL DEFAULT NULL ,
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
-