Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample Output


drools-db-migration | .Connection to mariadb 3306 port [tcp/mysql] succeeded!
mariadb | 2021-07-19 9:41:02 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '192.168.112.3' (This connection closed normally without authentication)
drools-db-migration | 507 blocks
drools-db-migration | Preparing upgrade release version: 0800
drools-db-migration | Preparing upgrade release version: 0900
drools-db-migration | Done
drools-db-migration | name version
drools-db-migration | policyadmin 0
drools-db-migration | policyadmin: upgrade available: 0 -> 0900
drools-db-migration | upgrade: 0 -> 0900
drools-db-migration |
drools-db-migration | > upgrade 0100-jpapdpgroup_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapdpgroup_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES VARCHAR(255) NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0110-jpapdpstatistics_enginestats.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapdpstatistics_enginestats (AVERAGEEXECUTIONTIME DOUBLE DEFAULT NULL NULL, ENGINEID VARCHAR(255) NULL, ENGINETIMESTAMP BIGINT DEFAULT NULL NULL, ENGINEWORKERSTATE INT DEFAULT NULL NULL, EVENTCOUNT BIGINT DEFAULT NULL NULL, LASTENTERTIME BIGINT DEFAULT NULL NULL, LASTEXECUTIONTIME BIGINT DEFAULT NULL NULL, LASTSTART BIGINT DEFAULT NULL NULL, UPTIME BIGINT DEFAULT NULL NULL, ID BIGINT DEFAULT NULL NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0120-jpapdpsubgroup_policies.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_policies (name VARCHAR(120) NULL, version VARCHAR(20) NULL, parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0130-jpapdpsubgroup_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_properties (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, PROPERTIES VARCHAR(255) NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0140-jpapdpsubgroup_supportedpolicytypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapdpsubgroup_supportedpolicytypes (name VARCHAR(120) NULL, version VARCHAR(20) NULL, parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0150-jpatoscacapabilityassignment_attributes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_attributes (name VARCHAR(120) NULL, version VARCHAR(20) NULL, ATTRIBUTES LONGTEXT NULL, ATTRIBUTES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0160-jpatoscacapabilityassignment_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0170-jpatoscacapabilityassignment_occurrences.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0180-jpatoscacapabilityassignment_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilityassignment_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0190-jpatoscacapabilitytype_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0200-jpatoscacapabilitytype_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscacapabilitytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0210-jpatoscadatatype_constraints.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscadatatype_constraints (name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINTS VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0220-jpatoscadatatype_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscadatatype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0230-jpatoscadatatype_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscadatatype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0240-jpatoscanodetemplate_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0250-jpatoscanodetemplate_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscanodetemplate_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0260-jpatoscanodetype_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscanodetype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0270-jpatoscanodetype_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscanodetype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0280-jpatoscapolicy_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicy_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0290-jpatoscapolicy_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicy_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0300-jpatoscapolicy_targets.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicy_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0310-jpatoscapolicytype_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0320-jpatoscapolicytype_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0330-jpatoscapolicytype_targets.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_targets (name VARCHAR(120) NULL, version VARCHAR(20) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0340-jpatoscapolicytype_triggers.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscapolicytype_triggers (name VARCHAR(120) NULL, version VARCHAR(20) NULL, TRIGGERS VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0350-jpatoscaproperty_constraints.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscaproperty_constraints (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, CONSTRAINTS VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0360-jpatoscaproperty_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscaproperty_metadata (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0370-jpatoscarelationshiptype_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0380-jpatoscarelationshiptype_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscarelationshiptype_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGBLOB DEFAULT NULL NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0390-jpatoscarequirement_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscarequirement_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0400-jpatoscarequirement_occurrences.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscarequirement_occurrences (name VARCHAR(120) NULL, version VARCHAR(20) NULL, OCCURRENCES INT DEFAULT NULL NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0410-jpatoscarequirement_properties.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscarequirement_properties (name VARCHAR(120) NULL, version VARCHAR(20) NULL, PROPERTIES LONGTEXT NULL, PROPERTIES_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0420-jpatoscaservicetemplate_metadata.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscaservicetemplate_metadata (name VARCHAR(120) NULL, version VARCHAR(20) NULL, METADATA VARCHAR(255) NULL, METADATA_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0430-jpatoscatopologytemplate_inputs.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpatoscatopologytemplate_inputs (parentLocalName VARCHAR(120) NULL, localName VARCHAR(120) NULL, parentKeyVersion VARCHAR(15) NULL, parentKeyName VARCHAR(120) NULL, INPUTS LONGBLOB DEFAULT NULL NULL, INPUTS_KEY VARCHAR(255) NULL)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0440-pdpgroup_pdpsubgroup.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdpgroup_pdpsubgroup (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, CONSTRAINT PK_PDPGROUP_PDPSUBGROUP PRIMARY KEY (name, version, parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0450-pdpgroup.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdpgroup (`DESCRIPTION` VARCHAR(255) NULL, PDPGROUPSTATE INT DEFAULT NULL NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_PDPGROUP PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0460-pdppolicystatus.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdppolicystatus (DEPLOY BIT DEFAULT 0 NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, STATE INT DEFAULT NULL NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_PDPPOLICYSTATUS PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0470-pdp.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdp (HEALTHY INT DEFAULT NULL NULL, MESSAGE VARCHAR(255) NULL, PDPSTATE INT DEFAULT NULL NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, CONSTRAINT PK_PDP PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0480-pdpstatistics.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdpstatistics (PDPGROUPNAME VARCHAR(120) NULL, PDPSUBGROUPNAME VARCHAR(120) NULL, POLICYDEPLOYCOUNT BIGINT DEFAULT NULL NULL, POLICYDEPLOYFAILCOUNT BIGINT DEFAULT NULL NULL, POLICYDEPLOYSUCCESSCOUNT BIGINT DEFAULT NULL NULL, POLICYEXECUTEDCOUNT BIGINT DEFAULT NULL NULL, POLICYEXECUTEDFAILCOUNT BIGINT DEFAULT NULL NULL, POLICYEXECUTEDSUCCESSCOUNT BIGINT DEFAULT NULL NULL, TIMESTAMP datetime DEFAULT NULL NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_PDPSTATISTICS PRIMARY KEY (ID, name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0490-pdpsubgroup_pdp.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdpsubgroup_pdp (pdpParentKeyName VARCHAR(120) NOT NULL, pdpParentKeyVersion VARCHAR(15) NOT NULL, pdpParentLocalName VARCHAR(120) NOT NULL, pdpLocalName VARCHAR(120) NOT NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, CONSTRAINT PK_PDPSUBGROUP_PDP PRIMARY KEY (pdpParentKeyName, pdpParentKeyVersion, pdpParentLocalName, pdpLocalName, parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0500-pdpsubgroup.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS pdpsubgroup (CURRENTINSTANCECOUNT INT DEFAULT NULL NULL, DESIREDINSTANCECOUNT INT DEFAULT NULL NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, CONSTRAINT PK_PDPSUBGROUP PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0510-toscacapabilityassignment.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilityassignment (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, CONSTRAINT PK_TOSCACAPABILITYASSIGNMENT PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0520-toscacapabilityassignments.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilityassignments (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCACAPABILITYASSIGNMENTS PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0530-toscacapabilityassignments_toscacapabilityassignment.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilityassignments_toscacapabilityassignment (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCACAPABILITYASSIGNMENTS_TOSCACAPABILITYASSIGNMENT PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0540-toscacapabilitytype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilitytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCACAPABILITYTYPE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0550-toscacapabilitytypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilitytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCACAPABILITYTYPES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0560-toscacapabilitytypes_toscacapabilitytype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscacapabilitytypes_toscacapabilitytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCACAPABILITYTYPES_TOSCACAPABILITYTYPE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0570-toscadatatype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscadatatype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCADATATYPE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0580-toscadatatypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscadatatypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCADATATYPES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0590-toscadatatypes_toscadatatype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscadatatypes_toscadatatype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCADATATYPES_TOSCADATATYPE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0600-toscanodetemplate.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetemplate (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, capabilitiesName VARCHAR(120) NULL, capabilitiesVersion VARCHAR(20) NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, CONSTRAINT PK_TOSCANODETEMPLATE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0610-toscanodetemplates.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetemplates (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCANODETEMPLATES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0620-toscanodetemplates_toscanodetemplate.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetemplates_toscanodetemplate (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCANODETEMPLATES_TOSCANODETEMPLATE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0630-toscanodetype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, requirementsVersion VARCHAR(20) NULL, requirementsName VARCHAR(120) NULL, CONSTRAINT PK_TOSCANODETYPE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0640-toscanodetypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCANODETYPES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0650-toscanodetypes_toscanodetype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscanodetypes_toscanodetype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCANODETYPES_TOSCANODETYPE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0660-toscaparameter.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscaparameter (VALUE VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCAPARAMETER PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0670-toscapolicies.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicies (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCAPOLICIES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0680-toscapolicies_toscapolicy.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicies_toscapolicy (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCAPOLICIES_TOSCAPOLICY PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0690-toscapolicy.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicy (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, CONSTRAINT PK_TOSCAPOLICY PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0700-toscapolicytype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicytype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCAPOLICYTYPE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0710-toscapolicytypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicytypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCAPOLICYTYPES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0720-toscapolicytypes_toscapolicytype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscapolicytypes_toscapolicytype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCAPOLICYTYPES_TOSCAPOLICYTYPE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0730-toscaproperty.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscaproperty (DEFAULTVALUE VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, ENTRYSCHEMA LONGBLOB DEFAULT NULL NULL, REQUIRED BIT DEFAULT 0 NULL, STATUS INT DEFAULT NULL NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCAPROPERTY PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0740-toscarelationshiptype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarelationshiptype (`DESCRIPTION` VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCARELATIONSHIPTYPE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0750-toscarelationshiptypes.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarelationshiptypes (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCARELATIONSHIPTYPES PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0760-toscarelationshiptypes_toscarelationshiptype.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarelationshiptypes_toscarelationshiptype (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCARELATIONSHIPTYPES_TOSCARELATIONSHIPTYPE PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0770-toscarequirement.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarequirement (CAPABILITY VARCHAR(255) NULL, `DESCRIPTION` VARCHAR(255) NULL, NODE VARCHAR(255) NULL, RELATIONSHIP VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, type_name VARCHAR(255) NULL, type_version VARCHAR(255) NULL, CONSTRAINT PK_TOSCAREQUIREMENT PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0780-toscarequirements.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarequirements (name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_TOSCAREQUIREMENTS PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0790-toscarequirements_toscarequirement.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscarequirements_toscarequirement (conceptContainerMapName VARCHAR(120) NOT NULL, concpetContainerMapVersion VARCHAR(20) NOT NULL, conceptContainerName VARCHAR(120) NOT NULL, conceptContainerVersion VARCHAR(20) NOT NULL, name VARCHAR(120) NULL, version VARCHAR(20) NULL, CONSTRAINT PK_TOSCAREQUIREMENTS_TOSCAREQUIREMENT PRIMARY KEY (conceptContainerMapName, concpetContainerMapVersion, conceptContainerName, conceptContainerVersion))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0800-toscaservicetemplate.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscaservicetemplate (`DESCRIPTION` VARCHAR(255) NULL, TOSCADEFINITIONSVERSION VARCHAR(255) NULL, derived_from_name VARCHAR(255) NULL, derived_from_version VARCHAR(255) NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, capabilityTypesVersion VARCHAR(20) NULL, capabilityTypesName VARCHAR(120) NULL, dataTypesName VARCHAR(120) NULL, dataTypesVersion VARCHAR(20) NULL, nodeTypesVersion VARCHAR(20) NULL, nodeTypesName VARCHAR(120) NULL, policyTypesName VARCHAR(120) NULL, policyTypesVersion VARCHAR(20) NULL, relationshipTypesVersion VARCHAR(20) NULL, relationshipTypesName VARCHAR(120) NULL, topologyTemplateLocalName VARCHAR(120) NULL, topologyTemplateParentKeyName VARCHAR(120) NULL, topologyTemplateParentKeyVersion VARCHAR(15) NULL, topologyTemplateParentLocalName VARCHAR(120) NULL, CONSTRAINT PK_TOSCASERVICETEMPLATE PRIMARY KEY (name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0810-toscatopologytemplate.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscatopologytemplate (`description` VARCHAR(255) NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, nodeTemplatessVersion VARCHAR(20) NULL, nodeTemplatesName VARCHAR(120) NULL, policyVersion VARCHAR(20) NULL, policyName VARCHAR(120) NULL, CONSTRAINT PK_TOSCATOPOLOGYTEMPLATE PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0820-toscatrigger.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS toscatrigger (ACTION VARCHAR(255) NULL, toscaCondition LONGBLOB DEFAULT NULL NULL, toscaConstraint LONGBLOB DEFAULT NULL NULL, `DESCRIPTION` VARCHAR(255) NULL, EVALUATIONS INT DEFAULT NULL NULL, EVENTTYPE VARCHAR(255) NULL, METHOD VARCHAR(255) NULL, `PERIOD` LONGBLOB DEFAULT NULL NULL, SCHEDULE LONGBLOB DEFAULT NULL NULL, TARGETFILTER LONGBLOB DEFAULT NULL NULL, parentLocalName VARCHAR(120) NOT NULL, localName VARCHAR(120) NOT NULL, parentKeyVersion VARCHAR(15) NOT NULL, parentKeyName VARCHAR(120) NOT NULL, CONSTRAINT PK_TOSCATRIGGER PRIMARY KEY (parentLocalName, localName, parentKeyVersion, parentKeyName))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0830-FK_ToscaNodeTemplate_capabilitiesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_capabilitiesName FOREIGN KEY (capabilitiesName, capabilitiesVersion) REFERENCES toscacapabilityassignments (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0840-FK_ToscaNodeTemplate_requirementsName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscanodetemplate ADD CONSTRAINT FK_ToscaNodeTemplate_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0850-FK_ToscaNodeType_requirementsName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscanodetype ADD CONSTRAINT FK_ToscaNodeType_requirementsName FOREIGN KEY (requirementsName, requirementsVersion) REFERENCES toscarequirements (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_capabilityTypesName FOREIGN KEY (capabilityTypesName, capabilityTypesVersion) REFERENCES toscacapabilitytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0870-FK_ToscaServiceTemplate_dataTypesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_dataTypesName FOREIGN KEY (dataTypesName, dataTypesVersion) REFERENCES toscadatatypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0880-FK_ToscaServiceTemplate_nodeTypesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_nodeTypesName FOREIGN KEY (nodeTypesName, nodeTypesVersion) REFERENCES toscanodetypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0890-FK_ToscaServiceTemplate_policyTypesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_policyTypesName FOREIGN KEY (policyTypesName, policyTypesVersion) REFERENCES toscapolicytypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT FK_ToscaServiceTemplate_relationshipTypesName FOREIGN KEY (relationshipTypesName, relationshipTypesVersion) REFERENCES toscarelationshiptypes (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_nodeTemplatesName FOREIGN KEY (nodeTemplatesName, nodeTemplatessVersion) REFERENCES toscanodetemplates (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0920-FK_ToscaTopologyTemplate_policyName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscatopologytemplate ADD CONSTRAINT FK_ToscaTopologyTemplate_policyName FOREIGN KEY (policyName, policyVersion) REFERENCES toscapolicies (name, version) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql
drools-db-migration | --------------
drools-db-migration | ALTER TABLE toscaservicetemplate ADD CONSTRAINT TscaServiceTemplatetopologyTemplateParentLocalName FOREIGN KEY (topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName) REFERENCES toscatopologytemplate (parentLocalName, localName, parentKeyVersion, parentKeyName) ON UPDATE RESTRICT ON DELETE RESTRICT
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0940-FK_ToscaNodeTemplate_capabilitiesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaNodeTemplate_capabilitiesName ON toscanodetemplate(capabilitiesName, capabilitiesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0950-FK_ToscaNodeTemplate_requirementsName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaNodeTemplate_requirementsName ON toscanodetemplate(requirementsName, requirementsVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0960-FK_ToscaNodeType_requirementsName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaNodeType_requirementsName ON toscanodetype(requirementsName, requirementsVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaServiceTemplate_capabilityTypesName ON toscaservicetemplate(capabilityTypesName, capabilityTypesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0980-FK_ToscaServiceTemplate_dataTypesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaServiceTemplate_dataTypesName ON toscaservicetemplate(dataTypesName, dataTypesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0990-FK_ToscaServiceTemplate_nodeTypesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaServiceTemplate_nodeTypesName ON toscaservicetemplate(nodeTypesName, nodeTypesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1000-FK_ToscaServiceTemplate_policyTypesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaServiceTemplate_policyTypesName ON toscaservicetemplate(policyTypesName, policyTypesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaServiceTemplate_relationshipTypesName ON toscaservicetemplate(relationshipTypesName, relationshipTypesVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaTopologyTemplate_nodeTemplatesName ON toscatopologytemplate(nodeTemplatesName, nodeTemplatessVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1030-FK_ToscaTopologyTemplate_policyName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX FK_ToscaTopologyTemplate_policyName ON toscatopologytemplate(policyName, policyVersion)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1040-IDX_TSIDX1.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX IDX_TSIDX1 ON pdpstatistics(TIMESTAMP, name, version)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1050-PdpPolicyStatus_PdpGroup.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX PdpPolicyStatus_PdpGroup ON pdppolicystatus(PDPGROUP)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql
drools-db-migration | --------------
drools-db-migration | CREATE INDEX TscaServiceTemplatetopologyTemplateParentLocalName ON toscaservicetemplate(topologyTemplateParentLocalName, topologyTemplateLocalName, topologyTemplateParentKeyVersion, topologyTemplateParentKeyName)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0100-jpapolicyaudit.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID, name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0110-sequence.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL NULL, CONSTRAINT PK_SEQUENCE PRIMARY KEY (SEQ_NAME))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0120-JpaPolicyAuditIndex_timestamp.sql
drools-db-migration | --------------
drools-db-migration | ERROR 1064 (42000) at line 20: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INDX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)' at line 1
drools-db-migration | CREATE INDX CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: OK: upgrade aborted at 0900 by script 0120-JpaPolicyAuditIndex_timestamp.sql(0900)
drools-db-migration | rollback: 0900 -> 0800
name version
drools-db-migration | policyadmin 0900
drools-db-migration | > rollback 0110-sequence.sqlID script operation from_version to_version tag success atTime
drools-db-migration | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1907211503200800u 1 2021-------------07-19 15:03:20
drools-db-migration | DROP TABLE IF EXISTS `sequence`
drools-db-migration | --------------2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration |
drools-db-migration |3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | > rollback 0100-jpapolicyaudit.sql4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | --------------5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | DROP TABLE IF EXISTS `jpapolicyaudit`6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-------------07-19 15:03:20
drools-db-migration |
drools-db-migration | policyadmin: failure: upgrade to release 0900 (0800)8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | 223 blocks
drools-db-migration | Preparing downgrade release version: 0800
drools-db-migration | Preparing downgrade release version: 09009 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | Done10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | policyadmin: On version 0800 cannot downgrade from 0900
drools-db-migration | 507 blocks11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | Preparing upgrade release version: 080012 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | Preparing upgrade release version: 090013 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | Done14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | upgrade: 0800 -> 090015 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration |
drools-16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | > upgrade 0100-jpapolicyaudit.sql17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1907211503200800u 1 2021---07-19 15:03:20
drools-db-migration | CREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID, name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > upgrade 0110-sequence.sql
drools-db-migration | --------------
drools-db-migration | CREATE TABLE IF NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL NULL, CONSTRAINT PK_SEQUENCE PRIMARY KEY (SEQ_NAME))
drools-db-migration | --------------
drools-db-migration |22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 36 0450-pdpgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 37 0460-pdppolicystatus.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 38 0470-pdp.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 39 0480-pdpstatistics.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 41 0500-pdpsubgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:21
drools-db-migration | 48 0570-toscadatatype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 49 0580-toscadatatypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 51 0600-toscanodetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 52 0610-toscanodetemplates.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 54 0630-toscanodetype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 55 0640-toscanodetypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 57 0660-toscaparameter.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 58 0670-toscapolicies.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 60 0690-toscapolicy.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 61 0700-toscapolicytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 62 0710-toscapolicytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 64 0730-toscaproperty.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 68 0770-toscarequirement.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 69 0780-toscarequirements.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 73 0820-toscatrigger.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 84 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 85 0940-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 86 0950-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 87 0960-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 88 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 89 0980-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 90 0990-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 91 1000-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 92 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 93 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 94 1030-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 95 1040-IDX_TSIDX1.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 96 1050-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 97 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 98 0100-jpapolicyaudit.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | 99 0110-sequence.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | 100 0120-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | policyadmin: OK @ 0900
drools-db-migration | 223 blocks
drools-db-migration | Preparing downgrade release version: 0800
drools-db-migration | Preparing downgrade release version: 0900
drools-db-migration | Done
drools-db-migration | downgrade: 0900 -> 0800
drools-db-migration |
drools-db-migration | > downgrade 0120-JpaPolicyAuditIndex_timestamp.sql
drools-db-migration | --------------
drools-db-migration | SET FOREIGN_KEY_CHECKS = 0
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | --------------
drools-db-migration | DROP INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | --------------
drools-db-migration | SET FOREIGN_KEY_CHECKS = 1
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > downgrade 0110-sequence.sql
drools-db-migration | --------------
drools-db-migration | DROP TABLE IF EXISTS `sequence`
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > downgrade 0100-jpapolicyaudit.sql
drools-db-migration | --------------
drools-db-migration | DROP TABLE IF EXISTS `jpapolicyaudit`
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: OK: downgrade (0800)
drools-db-migration | name version
drools-db-migration | policyadmin 0800
drools-db-migration | ID script operation from_version to_version tag success atTime
drools-db-migration | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:20
drools-db-migration | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:20
drools-db-migration | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 36 0450-pdpgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 37 0460-pdppolicystatus.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 38 0470-pdp.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 39 0480-pdpstatistics.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 41 0500-pdpsubgroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:21
drools-db-migration | 48 0570-toscadatatype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 49 0580-toscadatatypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 51 0600-toscanodetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 52 0610-toscanodetemplates.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 54 0630-toscanodetype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:21
drools-db-migration | 55 0640-toscanodetypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 57 0660-toscaparameter.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 58 0670-toscapolicies.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 60 0690-toscapolicy.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 61 0700-toscapolicytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 62 0710-toscapolicytypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 64 0730-toscaproperty.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 68 0770-toscarequirement.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 69 0780-toscarequirements.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 73 0820-toscatrigger.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:22
drools-db-migration | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:22
drools-db-migration | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 84 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 85 0940-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 86 0950-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 87 0960-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 88 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 89 0980-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 90 0990-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 91 1000-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 92 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 93 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907211503200800u 2021-07-19 15:03:23
drools-db-migration | 94 1030-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 95 1040-IDX_TSIDX1.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 96 1050-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 97 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907211503200800u 1 2021-07-19 15:03:23
drools-db-migration | 98 0100-jpapolicyaudit.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | 99 0110-sequence.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | 100 0120-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1907211503200900u 1 2021-07-19 15:03:23
drools-db-migration | 101 0120-JpaPolicyAuditIndex_timestamp.sql downgrade 0900 0800 1907211503280900d 1 2021-07-19 15:03:28
drools-db-migration | 102 0110-sequence.sql downgrade 0900 0800 1907211503280900d 1 2021-07-19 15:03:29
drools-db-migration | 103 0100-jpapolicyaudit.sql downgrade 0900 0800 1907211503280900d 1 2021-07-19 15:03:29
drools-db-migration | policyadmin: downgrade available: 0800 -> 0
drools-db-migration | 482 blocks
drools-db-migration | Preparing upgrade release version: 0800
drools-db-migration | Preparing upgrade release version: 0900
drools-db-migration | Done
drools-db-migration | upgrade: 0800 -> 0900
drools-db-migration |
drools-db-migration | > upgrade 01200100-JpaPolicyAuditIndex_timestampjpapolicyaudit.sql
drools-db-migration | --------------
drools-db-migration | ERROR 1064 (42000) at line 20: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INDX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)' at line 1
drools-db-migration | CREATE INDX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMPCREATE TABLE IF NOT EXISTS jpapolicyaudit (ACTION INT DEFAULT NULL NULL, PDPGROUP VARCHAR(255) NULL, PDPTYPE VARCHAR(255) NULL, TIMESTAMP datetime DEFAULT NULL NULL, USER VARCHAR(255) NULL, ID BIGINT NOT NULL, name VARCHAR(120) NOT NULL, version VARCHAR(20) NOT NULL, CONSTRAINT PK_JPAPOLICYAUDIT PRIMARY KEY (ID, name, version))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: upgrade aborted at 0900 by script 0120-JpaPolicyAuditIndex_timestamp.sql
drools-db-migration | rollback: 0900 -> 0800
drools-db-migration |
drools-db-migration | > rollback > upgrade 0110-sequence.sql
drools-db-migration | --------------
drools-db-migration | DROP CREATE TABLE IF EXISTS `sequence`NOT EXISTS sequence (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38) DEFAULT NULL NULL, CONSTRAINT PK_SEQUENCE PRIMARY KEY (SEQ_NAME))
drools-db-migration | --------------
drools-db-migration |
drools-db-migration |
drools-db-migration | > rollback 0100-jpapolicyauditupgrade 0120-JpaPolicyAuditIndex_timestamp.sql
drools-db-migration | --------------
drools-db-migration | DROP TABLE IF EXISTS `jpapolicyaudit`CREATE INDEX JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: failureOK: upgrade to release (0900 (0800)
drools-db-migration | name version
drools-db-migration | policyadmin 08000900
drools-db-migration | ID script operation from_version to_version tag success atTime
drools-db-migration | 1 0100-jpapdpgroup_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0220
drools-db-migration | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0220
drools-db-migration | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0220
drools-db-migration | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0220
drools-db-migration | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0320
drools-db-migration | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0320
drools-db-migration | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0320
drools-db-migration | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 36 0450-pdpgroup.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 37 0460-pdppolicystatus.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 38 0470-pdp.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 39 0480-pdpstatistics.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 41 0500-pdpsubgroup.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0321
drools-db-migration | 48 0570-toscadatatype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 49 0580-toscadatatypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 51 0600-toscanodetemplate.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0321
drools-db-migration | 52 0610-toscanodetemplates.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0421
drools-db-migration | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0421
drools-db-migration | 54 0630-toscanodetype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0421
drools-db-migration | 55 0640-toscanodetypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 57 0660-toscaparameter.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 58 0670-toscapolicies.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 60 0690-toscapolicy.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 61 0700-toscapolicytype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 62 0710-toscapolicytypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 64 0730-toscaproperty.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0422
drools-db-migration | 68 0770-toscarequirement.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 69 0780-toscarequirements.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 73 0820-toscatrigger.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0422
drools-db-migration | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0422
drools-db-migration | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0522
drools-db-migration | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0522
drools-db-migration | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 84 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 85 0940-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 86 0950-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 87 0960-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 88 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 89 0980-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 90 0990-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 91 1000-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 92 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 93 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 2021-07-19 0915:4103:0523
drools-db-migration | 94 1030-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 95 1040-IDX_TSIDX1.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 96 1050-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 97 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907210941020800u 1907211503200800u 1 2021-07-19 0915:4103:0523
drools-db-migration | 98 0100-jpapolicyaudit.sql upgrade 0800 0900 1907210941020900u 1907211503200900u 1 2021-07-19 0915:4103:0523
drools-db-migration | 99 0110-sequence.sql upgrade 0800 0900 1907210941020900u 1907211503200900u 1 2021-07-19 0915:4103:0523
drools-db-migration | 100 0120-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1907210941020900u 0 2021-07-19 09:41:05
drools-db-migration | 101 0110-sequence.sql rollback 0900 0800 1907210941050900r 1907211503200900u 1 2021-07-19 0915:4103:0523
drools-db-migration | 102 0100-jpapolicyaudit101 0120-JpaPolicyAuditIndex_timestamp.sql rollback downgrade 0900 0800 1907210941050900r 1907211503280900d 1 2021-07-19 0915:4103:0528
drools-db-migration | 103 0100102 0110-jpapolicyauditsequence.sql upgrade downgrade 0900 0800 0900 1907210941060900u 1907211503280900d 1 2021-07-19 0915:4103:0629
drools-db-migration | 104 0110103 0100-sequencejpapolicyaudit.sql upgrade downgrade 0900 0800 0900 1907210941060900u 1907211503280900d 1 2021-07-19 0915:4103:0629
drools-db-migration | 105 0120-JpaPolicyAuditIndex_timestamp104 0100-jpapolicyaudit.sql upgrade 0800 0900 1907210941060900u 0 1907211504240900u 1 2021-07-19 0915:4104:0624
drools-db-migration | 106 105 0110-sequence.sql rollback upgrade 0800 0900 0800 1907210941060900r 1907211504240900u 1 2021-07-19 0915:4104:0624
drools-db-migration | 107 0100-jpapolicyaudit106 0120-JpaPolicyAuditIndex_timestamp.sql rollback upgrade 0800 0900 0800 1907210941060900r 1907211504240900u 1 2021-07-19 0915:4104:0624
drools-db-migration | policyadmin: upgrade available: 0800 -> OK @ 0900

This a a full install from version 0 → 0900

id 100 fails so a rollback is performed 101 + 102.

then a separate upgrade is run from 0800 → 0900

This too fails (id 105) and a rollback is again run 106 + 107Followed by a downgrade from 0900 → 0800

Followed by an upgrade from 0800 → 0900 


Migration Schema


MariaDB [(none)]> use migration;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

...

MariaDB [migration]> select * from db_metadata_versions;
+-------------+---------+
| name | version |
+-------------+---------+
| policyadmin | 0800 0900 |
+-------------+---------+
1 row in set (0.001 000 sec)


MariaDB [migration]> select * from policyadmin_change_history order by id asc;
+-----+---------------------------------------------------------------+-----------+--------------+------------+-------------------+---------+---------------------+
| ID | script | operation | from_version | to_version | tag | success | atTime |
+-----+---------------------------------------------------------------+-----------+--------------+------------+-------------------+---------+---------------------+
| 1 | 0100-jpapdpgroup_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 2 | 0110-jpapdpstatistics_enginestats.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 3 | 0120-jpapdpsubgroup_policies.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 4 | 0130-jpapdpsubgroup_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 5 | 0140-jpapdpsubgroup_supportedpolicytypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 6 | 0150-jpatoscacapabilityassignment_attributes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 7 | 0160-jpatoscacapabilityassignment_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 8 | 0170-jpatoscacapabilityassignment_occurrences.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 9 | 0180-jpatoscacapabilityassignment_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 10 | 0190-jpatoscacapabilitytype_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 11 | 0200-jpatoscacapabilitytype_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 12 | 0210-jpatoscadatatype_constraints.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:10 20 |
| 13 | 0220-jpatoscadatatype_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 14 | 0230-jpatoscadatatype_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 15 | 0240-jpatoscanodetemplate_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 16 | 0250-jpatoscanodetemplate_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 17 | 0260-jpatoscanodetype_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 18 | 0270-jpatoscanodetype_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 19 | 0280-jpatoscapolicy_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 20 | 0290-jpatoscapolicy_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 21 | 0300-jpatoscapolicy_targets.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 22 | 0310-jpatoscapolicytype_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 23 | 0320-jpatoscapolicytype_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 20 |
| 24 | 0330-jpatoscapolicytype_targets.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 25 | 0340-jpatoscapolicytype_triggers.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 26 | 0350-jpatoscaproperty_constraints.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 27 | 0360-jpatoscaproperty_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 28 | 0370-jpatoscarelationshiptype_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 29 | 0380-jpatoscarelationshiptype_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 30 | 0390-jpatoscarequirement_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 31 | 0400-jpatoscarequirement_occurrences.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 32 | 0410-jpatoscarequirement_properties.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 33 | 0420-jpatoscaservicetemplate_metadata.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 34 | 0430-jpatoscatopologytemplate_inputs.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 35 | 0440-pdpgroup_pdpsubgroup.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 36 | 0450-pdpgroup.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 37 | 0460-pdppolicystatus.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 38 | 0470-pdp.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 39 | 0480-pdpstatistics.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 40 | 0490-pdpsubgroup_pdp.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 41 | 0500-pdpsubgroup.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 42 | 0510-toscacapabilityassignment.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 43 | 0520-toscacapabilityassignments.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:11 21 |
| 44 | 0530-toscacapabilityassignments_toscacapabilityassignment.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 45 | 0540-toscacapabilitytype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 46 | 0550-toscacapabilitytypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 47 | 0560-toscacapabilitytypes_toscacapabilitytype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 48 | 0570-toscadatatype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 49 | 0580-toscadatatypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 50 | 0590-toscadatatypes_toscadatatype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 51 | 0600-toscanodetemplate.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 52 | 0610-toscanodetemplates.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 53 | 0620-toscanodetemplates_toscanodetemplate.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 54 | 0630-toscanodetype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 21 |
| 55 | 0640-toscanodetypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 56 | 0650-toscanodetypes_toscanodetype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 57 | 0660-toscaparameter.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 58 | 0670-toscapolicies.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 59 | 0680-toscapolicies_toscapolicy.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 60 | 0690-toscapolicy.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 61 | 0700-toscapolicytype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 62 | 0710-toscapolicytypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 63 | 0720-toscapolicytypes_toscapolicytype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 64 | 0730-toscaproperty.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 65 | 0740-toscarelationshiptype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 66 | 0750-toscarelationshiptypes.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 67 | 0760-toscarelationshiptypes_toscarelationshiptype.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 68 | 0770-toscarequirement.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 69 | 0780-toscarequirements.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 70 | 0790-toscarequirements_toscarequirement.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 71 | 0800-toscaservicetemplate.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 72 | 0810-toscatopologytemplate.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 73 | 0820-toscatrigger.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:12 22 |
| 74 | 0830-FK_ToscaNodeTemplate_capabilitiesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 75 | 0840-FK_ToscaNodeTemplate_requirementsName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 76 | 0850-FK_ToscaNodeType_requirementsName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 77 | 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 78 | 0870-FK_ToscaServiceTemplate_dataTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 79 | 0880-FK_ToscaServiceTemplate_nodeTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 80 | 0890-FK_ToscaServiceTemplate_policyTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 22 |
| 81 | 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 82 | 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 83 | 0920-FK_ToscaTopologyTemplate_policyName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 84 | 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 85 | 0940-FK_ToscaNodeTemplate_capabilitiesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 86 | 0950-FK_ToscaNodeTemplate_requirementsName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 87 | 0960-FK_ToscaNodeType_requirementsName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 88 | 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 89 | 0980-FK_ToscaServiceTemplate_dataTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 90 | 0990-FK_ToscaServiceTemplate_nodeTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 91 | 1000-FK_ToscaServiceTemplate_policyTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 92 | 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 93 | 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 94 | 1030-FK_ToscaTopologyTemplate_policyName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 95 | 1040-IDX_TSIDX1.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 96 | 1050-PdpPolicyStatus_PdpGroup.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:13 23 |
| 97 | 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql | upgrade | 0 | 0800 | 1907211409100800u 1907211503200800u | 1 | 2021-07-19 1415:0903:14 23 |
| 98 | 0100-jpapolicyaudit.sql | upgrade | 0800 | 0900 | 1907211409100900u 1907211503200900u | 1 | 2021-07-19 1415:0903:14 23 |
| 99 | 0110-sequence.sql | upgrade | 0800 | 0900 | 1907211409100900u 1907211503200900u | 1 | 2021-07-19 1415:0903:14 23 |
| 100 | 0120-JpaPolicyAuditIndex_timestamp.sql | upgrade | 0800 | 0900 | 1907211409100900u 1907211503200900u | 0 1 | 2021-07-19 1415:0903:14 23 |
| 101 | 01100120-sequenceJpaPolicyAuditIndex_timestamp.sql | rollback downgrade | 0900 | 0800 | 1907211409140900r 1907211503280900d | 1 | 2021-07-19 1415:0903:14 28 |
| 102 | 01000110-jpapolicyauditsequence.sql | rollback downgrade | 0900 | 0800 | 1907211409140900r 1907211503280900d | 1 | 2021-07-19 1415:0903:14 29 |
| 103 | 0100-jpapolicyaudit.sql | upgrade downgrade | 0900 | 0800 | 0900 1907211503280900d | 1907211410140900u | 1 | 2021-07-19 1415:1003:14 29 |
| 104 | 01100100-sequencejpapolicyaudit.sql | upgrade | 0800 | 0900 | 1907211410140900u 1907211504240900u | 1 | 2021-07-19 1415:1004:14 24 |
| 105 | 01200110-JpaPolicyAuditIndex_timestampsequence.sql | upgrade | 0800 | 0900 | 1907211410140900u 1907211504240900u | 0 1 | 2021-07-19 1415:1004:14 24 |
| 106 | 01100120-sequenceJpaPolicyAuditIndex_timestamp.sql | rollback | 0900 upgrade | 0800 | 1907211410140900r | 1 | 2021-07-19 14:10:14 |
| 107 | 0100-jpapolicyaudit.sql | rollback | 0900 | 0800 1907211504240900u | 1907211410140900r | 1 | 2021-07-19 1415:1004:14 24 |
+-----+---------------------------------------------------------------+-----------+--------------+------------+-------------------+---------+---------------------+
107 106 rows in set (0.001 sec)