Commit 101c9078 authored by Matija Obreza's avatar Matija Obreza

Catalog: generated Liquibase

parent db53d595
......@@ -89,7 +89,7 @@
<aspectj.version>1.7.2</aspectj.version>
<mysql.version>5.1.38</mysql.version>
<mysql.version>5.1.46</mysql.version>
<hazelcast.version>3.8.1</hazelcast.version>
<oval.version>1.81</oval.version>
......
......@@ -2327,3 +2327,1241 @@ databaseChangeLog:
- renameTable:
newTableName: repository_image
oldTableName: repositoryimage
# Catalog imported to genesys
- changeSet:
id: 1531942280911-1
author: mobreza (generated)
changes:
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: accessions
type: INT
- column:
name: created
type: VARCHAR(200)
- column:
name: description
type: LONGTEXT
- column:
name: descriptors
type: INT
- column:
name: format
type: VARCHAR(255)
- column:
name: language
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: published
type: BIT(1)
- column:
name: rights
type: VARCHAR(255)
- column:
name: source
type: VARCHAR(255)
- column:
name: subject
type: VARCHAR(255)
- column:
name: title
type: VARCHAR(255)
- column:
name: versionTag
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: partnerId
type: BIGINT
- column:
constraints:
nullable: false
name: versionsId
type: BIGINT
tableName: dataset
- createTable:
columns:
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
- column:
constraints:
nullable: false
name: acceNumb
type: VARCHAR(50)
- column:
name: doi
type: VARCHAR(100)
- column:
constraints:
nullable: false
name: genus
type: VARCHAR(100)
- column:
constraints:
nullable: false
name: instCode
type: VARCHAR(10)
- column:
name: species
type: VARCHAR(100)
tableName: dataset_accessions
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: email
type: VARCHAR(255)
- column:
name: fax
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: fullName
type: VARCHAR(200)
- column:
name: instituteAddress
type: VARCHAR(255)
- column:
name: institutionalAffiliation
type: VARCHAR(255)
- column:
name: phoneNumber
type: VARCHAR(255)
- column:
name: role
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
tableName: dataset_creator
- createTable:
columns:
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
- column:
constraints:
nullable: false
name: crop
type: VARCHAR(20)
tableName: dataset_crops
- createTable:
columns:
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
- column:
constraints:
nullable: false
name: descriptorId
type: BIGINT
- column:
constraints:
nullable: false
name: position
type: INT
tableName: dataset_descriptor
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: decimalLatitude
type: DOUBLE
- column:
name: decimalLongitude
type: DOUBLE
- column:
name: mapCountry
type: VARCHAR(255)
- column:
name: stateProvince
type: VARCHAR(255)
- column:
name: userCountry
type: VARCHAR(255)
- column:
name: verbatimLocality
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
tableName: dataset_location
- createTable:
columns:
- column:
constraints:
nullable: false
name: datasetId
type: BIGINT
- column:
constraints:
nullable: false
name: repositoryfileId
type: BIGINT
- column:
constraints:
nullable: false
name: position
type: INT
tableName: dataset_repositoryfile
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: currentVersion_id
type: BIGINT
tableName: dataset_version
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: bibliographicCitation
type: LONGTEXT
- column:
constraints:
nullable: false
name: category
type: VARCHAR(20)
- column:
name: columnName
type: VARCHAR(50)
- column:
name: crop
type: VARCHAR(100)
- column:
constraints:
nullable: false
name: dataType
type: VARCHAR(255)
- column:
name: description
type: LONGTEXT
- column:
name: integerOnly
type: BIT(1)
- column:
constraints:
nullable: false
name: keyDescriptor
type: BIT(1)
- column:
name: max_value
type: DOUBLE
- column:
name: min_value
type: DOUBLE
- column:
constraints:
nullable: false
name: published
type: BIT(1)
- column:
name: publisher
type: VARCHAR(200)
- column:
constraints:
nullable: false
name: title
type: VARCHAR(255)
- column:
name: uom
type: VARCHAR(20)
- column:
constraints:
nullable: false
name: versionTag
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: partnerId
type: BIGINT
- column:
name: vocabularyId
type: BIGINT
tableName: descriptor
- createTable:
columns:
- column:
constraints:
nullable: false
name: descriptorId
type: BIGINT
- column:
constraints:
nullable: false
name: termId
type: BIGINT
- column:
constraints:
nullable: false
name: idx
type: INT
tableName: descriptor_term
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: bibliographicCitation
type: LONGTEXT
- column:
name: crop
type: VARCHAR(100)
- column:
name: description
type: LONGTEXT
- column:
constraints:
nullable: false
name: published
type: BIT(1)
- column:
name: publisher
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: title
type: VARCHAR(255)
- column:
name: url
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: versionTag
type: VARCHAR(255)
- column:
constraints:
nullable: false
name: partnerId
type: BIGINT
tableName: descriptorlist
- createTable:
columns:
- column:
constraints:
nullable: false
name: descriptorListId
type: BIGINT
- column:
constraints:
nullable: false
name: descriptorId
type: BIGINT
- column:
constraints:
nullable: false
name: position
type: INT
tableName: descriptorlist_descriptor
- createTable:
columns:
- column:
constraints:
nullable: false
name: descriptorListId
type: BIGINT
- column:
name: v
type: LONGTEXT
- column:
constraints:
nullable: false
name: extra
type: VARCHAR(25)
tableName: descriptorlist_extra
- createTable:
columns:
- column:
autoIncrement: true
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
nullable: false
name: active
type: BIT(1)
- column:
constraints:
nullable: false
name: version
type: INT
- column:
name: createdBy
type: BIGINT
- column:
name: createdDate
type: datetime(6)
- column:
name: lastModifiedBy
type: BIGINT
- column:
name: lastModifiedDate
type: datetime(6)
- column:
constraints:
nullable: false
name: uuid
type: BINARY(16)
- column:
name: address
type: VARCHAR(500)