Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

Setup

The easiest way to run this container is by creating a shell script containing the commands you want to run and mapping it to the  /opt/app/policy/bin/ directory (see sample test below). You would then call his script once the container was up and had access to your database.


The first thing you need to do is set you policy home:

export POLICY_HOME=/opt/app/policy


Prior to running db-migrator you need to setup 3 environment variables:

This can be done in the shell

export SQL_USER=sql_user
export SQL_PASSWORD=sql_password
export SQL_HOST=mariadb

or in a .conf file that is called by env.sh at the start of the db-migrator script.

the .conf file should be loaded into the $POLICY_HOME/etc/profile.d directory.


Upgrade

Prior to upgrading run the following script:

/opt/app/policy/bin/prepare_upgrade.sh <SCHEMA NAME>

This will copy the upgrade files from /home/policy/sql to $POLICY_HOME/etc/db/migration/<SCHEMA NAME>/sql/

Each individual sql files that make up that release will be run as part of the upgrade.


Downgrade

Prior to downgrading run the following script:

/opt/app/policy/bin/prepare_downgrade.sh <SCHEMA NAME>

This will copy the downgrade files from /home/policy/sql to $POLICY_HOME/etc/db/migration/<SCHEMA NAME>/sql/

Each individual sql files that make up that release will be run as part of the downgrade.


Sample Test


export POLICY_HOME=/opt/app/policy
export SQL_USER=policy_user
export SQL_PASSWORD=*******
export SQL_HOST=mariadb


/opt/app/policy/bin/prepare_upgrade.sh policyadmin

/opt/app/policy/bin/db-migrator -s policyadmin -o report

/opt/app/policy/bin/db-migrator -s policyadmin -o upgrade

/opt/app/policy/bin/db-migrator -s policyadmin -o report

sleep 5

/opt/app/policy/bin/prepare_downgrade.sh policyadmin

/opt/app/policy/bin/db-migrator -s policyadmin -o downgrade -f 0900 -t 0800

/opt/app/policy/bin/db-migrator -s policyadmin -o report

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 JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)
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 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 | > rollback 0100-jpapolicyaudit.sql
drools-db-migration | --------------
drools-db-migration | DROP TABLE IF EXISTS `jpapolicyaudit`
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: failure: upgrade to release 0900 (0800)
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 | policyadmin: On version 0800 cannot downgrade from 0900
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 | upgrade: 0800 -> 0900
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 JpaPolicyAuditIndex_timestamp ON jpapolicyaudit(TIMESTAMP)
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 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 | > rollback 0100-jpapolicyaudit.sql
drools-db-migration | --------------
drools-db-migration | DROP TABLE IF EXISTS `jpapolicyaudit`
drools-db-migration | --------------
drools-db-migration |
drools-db-migration | policyadmin: failure: upgrade to release 0900 (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 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 2 0110-jpapdpstatistics_enginestats.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 3 0120-jpapdpsubgroup_policies.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 4 0130-jpapdpsubgroup_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 5 0140-jpapdpsubgroup_supportedpolicytypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 6 0150-jpatoscacapabilityassignment_attributes.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:02
drools-db-migration | 7 0160-jpatoscacapabilityassignment_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 8 0170-jpatoscacapabilityassignment_occurrences.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:02
drools-db-migration | 9 0180-jpatoscacapabilityassignment_properties.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:02
drools-db-migration | 10 0190-jpatoscacapabilitytype_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 11 0200-jpatoscacapabilitytype_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 12 0210-jpatoscadatatype_constraints.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 13 0220-jpatoscadatatype_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 14 0230-jpatoscadatatype_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 15 0240-jpatoscanodetemplate_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 16 0250-jpatoscanodetemplate_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 17 0260-jpatoscanodetype_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 18 0270-jpatoscanodetype_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 19 0280-jpatoscapolicy_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 20 0290-jpatoscapolicy_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:02
drools-db-migration | 21 0300-jpatoscapolicy_targets.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 22 0310-jpatoscapolicytype_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 23 0320-jpatoscapolicytype_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 24 0330-jpatoscapolicytype_targets.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 25 0340-jpatoscapolicytype_triggers.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 26 0350-jpatoscaproperty_constraints.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 27 0360-jpatoscaproperty_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 28 0370-jpatoscarelationshiptype_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 29 0380-jpatoscarelationshiptype_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 30 0390-jpatoscarequirement_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 31 0400-jpatoscarequirement_occurrences.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 32 0410-jpatoscarequirement_properties.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 33 0420-jpatoscaservicetemplate_metadata.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 34 0430-jpatoscatopologytemplate_inputs.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 35 0440-pdpgroup_pdpsubgroup.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 36 0450-pdpgroup.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 37 0460-pdppolicystatus.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 38 0470-pdp.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 39 0480-pdpstatistics.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 40 0490-pdpsubgroup_pdp.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 41 0500-pdpsubgroup.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 42 0510-toscacapabilityassignment.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 43 0520-toscacapabilityassignments.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 44 0530-toscacapabilityassignments_toscacapabilityassignment.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 45 0540-toscacapabilitytype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 46 0550-toscacapabilitytypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 47 0560-toscacapabilitytypes_toscacapabilitytype.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:03
drools-db-migration | 48 0570-toscadatatype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 49 0580-toscadatatypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 50 0590-toscadatatypes_toscadatatype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 51 0600-toscanodetemplate.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:03
drools-db-migration | 52 0610-toscanodetemplates.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 53 0620-toscanodetemplates_toscanodetemplate.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 54 0630-toscanodetype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 55 0640-toscanodetypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 56 0650-toscanodetypes_toscanodetype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 57 0660-toscaparameter.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 58 0670-toscapolicies.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 59 0680-toscapolicies_toscapolicy.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 60 0690-toscapolicy.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 61 0700-toscapolicytype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 62 0710-toscapolicytypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 63 0720-toscapolicytypes_toscapolicytype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 64 0730-toscaproperty.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 65 0740-toscarelationshiptype.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 66 0750-toscarelationshiptypes.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 67 0760-toscarelationshiptypes_toscarelationshiptype.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:04
drools-db-migration | 68 0770-toscarequirement.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 69 0780-toscarequirements.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 70 0790-toscarequirements_toscarequirement.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 71 0800-toscaservicetemplate.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 72 0810-toscatopologytemplate.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 73 0820-toscatrigger.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 74 0830-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 75 0840-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 76 0850-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 77 0860-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:04
drools-db-migration | 78 0870-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:04
drools-db-migration | 79 0880-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 80 0890-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 81 0900-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 82 0910-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 83 0920-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 84 0930-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 85 0940-FK_ToscaNodeTemplate_capabilitiesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 86 0950-FK_ToscaNodeTemplate_requirementsName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 87 0960-FK_ToscaNodeType_requirementsName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 88 0970-FK_ToscaServiceTemplate_capabilityTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 89 0980-FK_ToscaServiceTemplate_dataTypesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 90 0990-FK_ToscaServiceTemplate_nodeTypesName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 91 1000-FK_ToscaServiceTemplate_policyTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 92 1010-FK_ToscaServiceTemplate_relationshipTypesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 93 1020-FK_ToscaTopologyTemplate_nodeTemplatesName.sql upgrade 0 0800 1907210941020800u 2021-07-19 09:41:05
drools-db-migration | 94 1030-FK_ToscaTopologyTemplate_policyName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 95 1040-IDX_TSIDX1.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 96 1050-PdpPolicyStatus_PdpGroup.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 97 1060-TscaServiceTemplatetopologyTemplateParentLocalName.sql upgrade 0 0800 1907210941020800u 1 2021-07-19 09:41:05
drools-db-migration | 98 0100-jpapolicyaudit.sql upgrade 0800 0900 1907210941020900u 1 2021-07-19 09:41:05
drools-db-migration | 99 0110-sequence.sql upgrade 0800 0900 1907210941020900u 1 2021-07-19 09:41:05
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 1 2021-07-19 09:41:05
drools-db-migration | 102 0100-jpapolicyaudit.sql rollback 0900 0800 1907210941050900r 1 2021-07-19 09:41:05
drools-db-migration | 103 0100-jpapolicyaudit.sql upgrade 0800 0900 1907210941060900u 1 2021-07-19 09:41:06
drools-db-migration | 104 0110-sequence.sql upgrade 0800 0900 1907210941060900u 1 2021-07-19 09:41:06
drools-db-migration | 105 0120-JpaPolicyAuditIndex_timestamp.sql upgrade 0800 0900 1907210941060900u 0 2021-07-19 09:41:06
drools-db-migration | 106 0110-sequence.sql rollback 0900 0800 1907210941060900r 1 2021-07-19 09:41:06
drools-db-migration | 107 0100-jpapolicyaudit.sql rollback 0900 0800 1907210941060900r 1 2021-07-19 09:41:06
drools-db-migration | policyadmin: upgrade available: 0800 -> 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 + 107


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

Database changed
MariaDB [migration]> show tables;
+----------------------------+
| Tables_in_migration |
+----------------------------+
| db_metadata_versions |
| policyadmin_change_history |
+----------------------------+
2 rows in set (0.000 sec)

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

  • No labels