- onFail: MARK_RAN
- not:
- tableExists:
- tableName: automationcomposition
+ tableName: AutomationComposition
changes:
- sql:
sql: |
- CREATE TABLE automationcomposition (
+ CREATE TABLE AutomationComposition (
instanceId VARCHAR(255) NOT NULL,
compositionId VARCHAR(255),
compositionTargetId VARCHAR(255),
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: automationcompositiondefinition
+ tableName: AutomationCompositionDefinition
changes:
- sql:
sql: |
- CREATE TABLE automationcompositiondefinition (
+ CREATE TABLE AutomationCompositionDefinition (
compositionId VARCHAR(255) NOT NULL,
name VARCHAR(255),
restarting BOOLEAN,
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: automationcompositionelement
+ tableName: AutomationCompositionElement
changes:
- sql:
sql: |
- CREATE TABLE automationcompositionelement (
+ CREATE TABLE AutomationCompositionElement (
elementId VARCHAR(255) NOT NULL,
definition_name VARCHAR(255),
definition_version VARCHAR(255),
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: nodetemplatestate
+ tableName: NodeTemplateState
changes:
- sql:
sql: |
- CREATE TABLE nodetemplatestate (
+ CREATE TABLE NodeTemplateState (
nodeTemplateStateId VARCHAR(255) NOT NULL,
compositionId VARCHAR(255),
message VARCHAR(255),
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: participant
+ tableName: Participant
changes:
- sql:
sql: |
- CREATE TABLE participant (
+ CREATE TABLE Participant (
participantId VARCHAR(255) NOT NULL,
description VARCHAR(255),
participantState SMALLINT DEFAULT NULL,
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: participantsupportedacelements
+ tableName: ParticipantSupportedAcElements
changes:
- sql:
sql: |
- CREATE TABLE participantsupportedacelements (
+ CREATE TABLE ParticipantSupportedAcElements (
id VARCHAR(255) NOT NULL,
participantId VARCHAR(255),
typeName VARCHAR(255),
indexName: ac_compositionId
changes:
- sql:
- sql: CREATE INDEX ac_compositionId ON automationcomposition(compositionId);
+ sql: CREATE INDEX ac_compositionId ON AutomationComposition(compositionId);
- changeSet:
id: 1400-8
indexName: ac_element_fk
changes:
- sql:
- sql: CREATE INDEX ac_element_fk ON automationcompositionelement(instanceId);
+ sql: CREATE INDEX ac_element_fk ON AutomationCompositionElement(instanceId);
- changeSet:
id: 1400-9
indexName: dt_element_fk
changes:
- sql:
- sql: CREATE INDEX dt_element_fk ON nodetemplatestate(compositionId);
+ sql: CREATE INDEX dt_element_fk ON NodeTemplateState(compositionId);
- changeSet:
id: 1400-10
indexName: supported_element_fk
changes:
- sql:
- sql: CREATE INDEX supported_element_fk ON participantsupportedacelements(participantId);
+ sql: CREATE INDEX supported_element_fk ON ParticipantSupportedAcElements(participantId);
- changeSet:
id: 1400-11
- not:
- foreignKeyConstraintExists:
foreignKeyName: ac_element_fk
- foreignKeyTableName: automationcompositionelement
+ foreignKeyTableName: AutomationCompositionElement
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement
+ ALTER TABLE AutomationCompositionElement
ADD CONSTRAINT ac_element_fk
FOREIGN KEY (instanceId)
- REFERENCES automationcomposition (instanceId)
+ REFERENCES AutomationComposition (instanceId)
ON UPDATE RESTRICT
ON DELETE RESTRICT;
- not:
- foreignKeyConstraintExists:
foreignKeyName: dt_element_fk
- foreignKeyTableName: nodetemplatestate
+ foreignKeyTableName: NodeTemplateState
changes:
- sql:
sql: |
- ALTER TABLE nodetemplatestate
+ ALTER TABLE NodeTemplateState
ADD CONSTRAINT dt_element_fk
FOREIGN KEY (compositionId)
- REFERENCES automationcompositiondefinition (compositionId)
+ REFERENCES AutomationCompositionDefinition (compositionId)
ON UPDATE RESTRICT
ON DELETE RESTRICT;
- not:
- foreignKeyConstraintExists:
foreignKeyName: supported_element_fk
- foreignKeyTableName: participantsupportedacelements
+ foreignKeyTableName: ParticipantSupportedAcElements
changes:
- sql:
sql: |
- ALTER TABLE participantsupportedacelements
+ ALTER TABLE ParticipantSupportedAcElements
ADD CONSTRAINT supported_element_fk
FOREIGN KEY (participantId)
- REFERENCES participant (participantId)
+ REFERENCES Participant (participantId)
ON UPDATE RESTRICT
ON DELETE RESTRICT;
- onFail: MARK_RAN
- not:
- columnExists:
- tableName: automationcomposition
+ tableName: AutomationComposition
columnName: lastMsg
changes:
- sql:
- sql: ALTER TABLE automationcomposition ADD lastMsg timestamp without time zone DEFAULT Now();
+ sql: ALTER TABLE AutomationComposition ADD lastMsg timestamp without time zone DEFAULT Now();
- changeSet:
id: 1500-2
- onFail: MARK_RAN
- not:
- columnExists:
- tableName: automationcomposition
+ tableName: AutomationComposition
columnName: phase
changes:
- sql:
- sql: ALTER TABLE automationcomposition ADD phase SMALLINT DEFAULT 0;
+ sql: ALTER TABLE AutomationComposition ADD phase SMALLINT DEFAULT 0;
- changeSet:
id: 1500-3
- onFail: MARK_RAN
- not:
- columnExists:
- tableName: automationcompositiondefinition
+ tableName: AutomationCompositionDefinition
columnName: lastMsg
changes:
- sql:
- sql: ALTER TABLE automationcompositiondefinition ADD lastMsg timestamp without time zone DEFAULT Now();
+ sql: ALTER TABLE AutomationCompositionDefinition ADD lastMsg timestamp without time zone DEFAULT Now();
- changeSet:
id: 1500-4
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: participantreplica
+ tableName: ParticipantReplica
changes:
- sql:
sql: |
- CREATE TABLE participantreplica (
+ CREATE TABLE ParticipantReplica (
replicaId varchar(255) NOT NULL,
lastMsg timestamp without time zone DEFAULT Now(),
participantId varchar(255) DEFAULT NULL,
- onFail: MARK_RAN
- not:
- columnExists:
- tableName: participant
+ tableName: Participant
columnName: lastMsg
changes:
- sql:
- sql: ALTER TABLE participant ADD lastMsg timestamp without time zone DEFAULT Now();
+ sql: ALTER TABLE Participant ADD lastMsg timestamp without time zone DEFAULT Now();
- changeSet:
id: 1500-6
indexName: participant_replica_fk
changes:
- sql:
- sql: CREATE INDEX participant_replica_fk ON participantreplica(participantId);
+ sql: CREATE INDEX participant_replica_fk ON ParticipantReplica(participantId);
- changeSet:
id: 1500-7
- not:
- foreignKeyConstraintExists:
foreignKeyName: participant_replica_fk
- foreignKeyTableName: participantreplica
+ foreignKeyTableName: ParticipantReplica
changes:
- sql:
sql: |
- ALTER TABLE participantreplica
+ ALTER TABLE ParticipantReplica
ADD CONSTRAINT participant_replica_fk
FOREIGN KEY (participantId)
- REFERENCES participant (participantId)
+ REFERENCES Participant (participantId)
ON UPDATE RESTRICT
ON DELETE RESTRICT;
preConditions:
- onFail: MARK_RAN
- columnExists:
- tableName: automationcomposition
+ tableName: AutomationComposition
columnName: restarting
changes:
- sql:
- sql: UPDATE automationcomposition SET restarting = NULL;
+ sql: UPDATE AutomationComposition SET restarting = NULL;
- changeSet:
id: 1500-9
preConditions:
- onFail: MARK_RAN
- columnExists:
- tableName: automationcompositiondefinition
+ tableName: AutomationCompositionDefinition
columnName: restarting
changes:
- sql:
- sql: UPDATE automationcompositiondefinition SET restarting = NULL;
+ sql: UPDATE AutomationCompositionDefinition SET restarting = NULL;
- changeSet:
id: 1500-10
preConditions:
- onFail: MARK_RAN
- columnExists:
- tableName: automationcompositionelement
+ tableName: AutomationCompositionElement
columnName: restarting
changes:
- sql:
- sql: UPDATE automationcompositionelement SET restarting = NULL;
+ sql: UPDATE AutomationCompositionElement SET restarting = NULL;
- changeSet:
id: 1500-11
preConditions:
- onFail: MARK_RAN
- columnExists:
- tableName: nodetemplatestate
+ tableName: NodeTemplateState
columnName: restarting
changes:
- sql:
- sql: UPDATE nodetemplatestate SET restarting = NULL;
+ sql: UPDATE NodeTemplateState SET restarting = NULL;
- onFail: MARK_RAN
- not:
- tableExists:
- tableName: automationcompositionrollback
+ tableName: AutomationCompositionRollback
changes:
- sql:
sql: |
- CREATE TABLE automationcompositionrollback (
+ CREATE TABLE AutomationCompositionRollback (
instanceId VARCHAR(255) NOT NULL,
compositionId VARCHAR(255) NOT NULL,
elements TEXT NOT NULL,
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN compositionid SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN compositionId SET NOT NULL;
- changeSet:
id: 1701-3
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN name SET DEFAULT '';
- UPDATE automationcomposition SET name = '' WHERE name IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN name SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN name SET DEFAULT '';
+ UPDATE AutomationComposition SET name = '' WHERE name IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN name SET NOT NULL;
- changeSet:
id: 1701-4
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN version SET DEFAULT '1.0.0';
- UPDATE automationcomposition SET version = '1.0.0' WHERE version IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN version SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN version SET DEFAULT '1.0.0';
+ UPDATE AutomationComposition SET version = '1.0.0' WHERE version IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN version SET NOT NULL;
- changeSet:
id: 1701-5
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN deployState SET DEFAULT 2;
- UPDATE automationcomposition SET deployState = 2 WHERE deployState IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN deployState SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN deployState SET DEFAULT 2;
+ UPDATE AutomationComposition SET deployState = 2 WHERE deployState IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN deployState SET NOT NULL;
- changeSet:
id: 1701-6
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN lockState SET DEFAULT 4;
- UPDATE automationcomposition SET lockState = 4 WHERE lockState IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN lockState SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN lockState SET DEFAULT 4;
+ UPDATE AutomationComposition SET lockState = 4 WHERE lockState IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN lockState SET NOT NULL;
- changeSet:
id: 1701-7
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition ALTER COLUMN SubState SET DEFAULT 0;
- UPDATE automationcomposition SET subState = 0 WHERE subState IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN SubState SET NOT NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN subState SET DEFAULT 0;
+ UPDATE AutomationComposition SET subState = 0 WHERE subState IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN subState SET NOT NULL;
- changeSet:
id: 1701-8
changes:
- sql:
sql: |
- UPDATE automationcomposition SET lastMsg = now() WHERE lastMsg IS NULL;
- ALTER TABLE automationcomposition ALTER COLUMN lastMsg SET NOT NULL;
+ UPDATE AutomationComposition SET lastMsg = now() WHERE lastMsg IS NULL;
+ ALTER TABLE AutomationComposition ALTER COLUMN lastMsg SET NOT NULL;
- changeSet:
id: 1701-9
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN definition_name SET DEFAULT '';
- UPDATE automationcompositionelement SET definition_name = '' WHERE definition_name IS NULL;
- ALTER TABLE automationcompositionelement ALTER COLUMN definition_name SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN definition_name SET DEFAULT '';
+ UPDATE AutomationCompositionElement SET definition_name = '' WHERE definition_name IS NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN definition_name SET NOT NULL;
- changeSet:
id: 1701-10
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN definition_version SET DEFAULT '0.0.0';
- UPDATE automationcompositionelement SET definition_version = '0.0.0' WHERE definition_version IS NULL;
- ALTER TABLE automationcompositionelement ALTER COLUMN definition_version SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN definition_version SET DEFAULT '0.0.0';
+ UPDATE AutomationCompositionElement SET definition_version = '0.0.0' WHERE definition_version IS NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN definition_version SET NOT NULL;
- changeSet:
id: 1701-11
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN deployState SET DEFAULT 2;
- UPDATE automationcompositionelement SET deploystate = 2 WHERE deploystate IS NULL;
- ALTER TABLE automationcompositionelement ALTER COLUMN deploystate SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN deployState SET DEFAULT 2;
+ UPDATE AutomationCompositionElement SET deployState = 2 WHERE deployState IS NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN deployState SET NOT NULL;
- changeSet:
id: 1701-12
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN lockState SET DEFAULT 4;
- UPDATE automationcompositionelement SET lockState = 4 WHERE lockState IS NULL;
- ALTER TABLE automationcompositionelement ALTER COLUMN lockState SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN lockState SET DEFAULT 4;
+ UPDATE AutomationCompositionElement SET lockState = 4 WHERE lockState IS NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN lockState SET NOT NULL;
- changeSet:
id: 1701-13
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN substate SET DEFAULT 0;
- UPDATE automationcompositionelement SET subState = 0 WHERE subState IS NULL;
- ALTER TABLE automationcompositionelement ALTER COLUMN substate SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN subState SET DEFAULT 0;
+ UPDATE AutomationCompositionElement SET subState = 0 WHERE subState IS NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN subState SET NOT NULL;
- changeSet:
id: 1701-14
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN outproperties SET DEFAULT '{}';
- ALTER TABLE automationcompositionelement ALTER COLUMN outproperties SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN outProperties SET DEFAULT '{}';
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN outProperties SET NOT NULL;
- changeSet:
id: 1701-15
changes:
- sql:
sql: |
- ALTER TABLE automationcompositionelement ALTER COLUMN properties SET DEFAULT '{}';
- ALTER TABLE automationcompositionelement ALTER COLUMN properties SET NOT NULL;
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN properties SET DEFAULT '{}';
+ ALTER TABLE AutomationCompositionElement ALTER COLUMN properties SET NOT NULL;
- changeSet:
id: 1701-16
- not:
- foreignKeyConstraintExists:
foreignKeyName: ac_composition_fk
- foreignKeyTableName: automationcomposition
+ foreignKeyTableName: AutomationComposition
changes:
- sql:
sql: |
- ALTER TABLE automationcomposition
+ ALTER TABLE AutomationComposition
ADD CONSTRAINT ac_composition_fk
FOREIGN KEY (compositionId)
- REFERENCES automationcompositiondefinition (compositionId)
+ REFERENCES AutomationCompositionDefinition (compositionId)
ON UPDATE RESTRICT
ON DELETE RESTRICT;
changes:
- sql:
sql: |
- ALTER TABLE automationcompositiondefinition ALTER COLUMN name SET DEFAULT '';
- UPDATE automationcompositiondefinition SET name = '' WHERE name IS NULL;
- ALTER TABLE automationcompositiondefinition ALTER COLUMN name SET NOT NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN name SET DEFAULT '';
+ UPDATE AutomationCompositionDefinition SET name = '' WHERE name IS NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN name SET NOT NULL;
- changeSet:
id: 1701-18
changes:
- sql:
sql: |
- ALTER TABLE automationcompositiondefinition ALTER COLUMN version SET DEFAULT '1.0.0';
- UPDATE automationcompositiondefinition SET version = '1.0.0' WHERE version IS NULL;
- ALTER TABLE automationcompositiondefinition ALTER COLUMN version SET NOT NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN version SET DEFAULT '1.0.0';
+ UPDATE AutomationCompositionDefinition SET version = '1.0.0' WHERE version IS NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN version SET NOT NULL;
- changeSet:
id: 1701-19
changes:
- sql:
sql: |
- ALTER TABLE automationcompositiondefinition ALTER COLUMN state SET DEFAULT 0;
- UPDATE automationcompositiondefinition SET state = 0 WHERE state IS NULL;
- ALTER TABLE automationcompositiondefinition ALTER COLUMN state SET NOT NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN state SET DEFAULT 0;
+ UPDATE AutomationCompositionDefinition SET state = 0 WHERE state IS NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN state SET NOT NULL;
- changeSet:
id: 1701-20
changes:
- sql:
sql: |
- ALTER TABLE automationcompositiondefinition ALTER COLUMN serviceTemplate SET DEFAULT '';
- UPDATE automationcompositiondefinition SET serviceTemplate = '' WHERE serviceTemplate IS NULL;
- ALTER TABLE automationcompositiondefinition ALTER COLUMN serviceTemplate SET NOT NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN serviceTemplate SET DEFAULT '';
+ UPDATE AutomationCompositionDefinition SET serviceTemplate = '' WHERE serviceTemplate IS NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN serviceTemplate SET NOT NULL;
- changeSet:
id: 1701-21
changes:
- sql:
sql: |
- UPDATE automationcompositiondefinition SET lastMsg = now() WHERE lastMsg IS NULL;
- ALTER TABLE automationcompositiondefinition ALTER COLUMN lastMsg SET NOT NULL;
+ UPDATE AutomationCompositionDefinition SET lastMsg = now() WHERE lastMsg IS NULL;
+ ALTER TABLE AutomationCompositionDefinition ALTER COLUMN lastMsg SET NOT NULL;
- changeSet:
id: 1701-22
changes:
- sql:
sql: |
- ALTER TABLE nodetemplatestate ALTER COLUMN nodeTemplate_name SET DEFAULT '';
- UPDATE nodetemplatestate SET nodeTemplate_name = '' WHERE nodeTemplate_name IS NULL;
- ALTER TABLE nodetemplatestate ALTER COLUMN nodeTemplate_name SET NOT NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN nodeTemplate_name SET DEFAULT '';
+ UPDATE NodeTemplateState SET nodeTemplate_name = '' WHERE nodeTemplate_name IS NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN nodeTemplate_name SET NOT NULL;
- changeSet:
id: 1701-23
changes:
- sql:
sql: |
- ALTER TABLE nodetemplatestate ALTER COLUMN nodeTemplate_version SET DEFAULT '1.0.0';
- UPDATE nodetemplatestate SET nodeTemplate_version = '1.0.0' WHERE nodeTemplate_version IS NULL;
- ALTER TABLE nodetemplatestate ALTER COLUMN nodeTemplate_version SET NOT NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN nodeTemplate_version SET DEFAULT '1.0.0';
+ UPDATE NodeTemplateState SET nodeTemplate_version = '1.0.0' WHERE nodeTemplate_version IS NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN nodeTemplate_version SET NOT NULL;
- changeSet:
id: 1701-24
changes:
- sql:
sql: |
- ALTER TABLE nodetemplatestate ALTER COLUMN outProperties SET DEFAULT '{}';
- UPDATE nodetemplatestate SET outProperties = '{}' WHERE outProperties IS NULL;
- ALTER TABLE nodetemplatestate ALTER COLUMN outProperties SET NOT NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN outProperties SET DEFAULT '{}';
+ UPDATE NodeTemplateState SET outProperties = '{}' WHERE outProperties IS NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN outProperties SET NOT NULL;
- changeSet:
id: 1701-25
changes:
- sql:
sql: |
- ALTER TABLE nodetemplatestate ALTER COLUMN state SET DEFAULT 0;
- UPDATE nodetemplatestate SET state = 0 WHERE state IS NULL;
- ALTER TABLE nodetemplatestate ALTER COLUMN state SET NOT NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN state SET DEFAULT 0;
+ UPDATE NodeTemplateState SET state = 0 WHERE state IS NULL;
+ ALTER TABLE NodeTemplateState ALTER COLUMN state SET NOT NULL;
- changeSet:
id: 1701-26
indexName: mb_identificationId_index
changes:
- sql:
- sql: CREATE INDEX mb_identificationId_index ON message(identificationId);
+ sql: CREATE INDEX mb_identificationId_index ON Message(identificationId);
- changeSet:
id: 1701-27
changes:
- sql:
sql: |
- UPDATE participantreplica SET lastMsg = now() WHERE lastMsg IS NULL;
- ALTER TABLE participantreplica ALTER COLUMN lastMsg SET NOT NULL;
+ UPDATE ParticipantReplica SET lastMsg = now() WHERE lastMsg IS NULL;
+ ALTER TABLE ParticipantReplica ALTER COLUMN lastMsg SET NOT NULL;
- changeSet:
id: 1701-28
changes:
- sql:
sql: |
- ALTER TABLE participantreplica ALTER COLUMN participantId SET DEFAULT '';
- ALTER TABLE participantreplica ALTER COLUMN participantId SET NOT NULL;
+ ALTER TABLE ParticipantReplica ALTER COLUMN participantId SET DEFAULT '';
+ ALTER TABLE ParticipantReplica ALTER COLUMN participantId SET NOT NULL;
- changeSet:
id: 1701-29
changes:
- sql:
sql: |
- ALTER TABLE participantreplica ALTER COLUMN participantState SET DEFAULT 1;
- UPDATE participantreplica SET participantState = '1' WHERE participantState IS NULL;
- ALTER TABLE participantreplica ALTER COLUMN participantState SET NOT NULL;
+ ALTER TABLE ParticipantReplica ALTER COLUMN participantState SET DEFAULT 1;
+ UPDATE ParticipantReplica SET participantState = '1' WHERE participantState IS NULL;
+ ALTER TABLE ParticipantReplica ALTER COLUMN participantState SET NOT NULL;
- changeSet:
id: 1701-30
changes:
- sql:
sql: |
- ALTER TABLE participantsupportedacelements ALTER COLUMN participantId SET DEFAULT '';
- ALTER TABLE participantsupportedacelements ALTER COLUMN participantId SET NOT NULL;
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN participantId SET DEFAULT '';
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN participantId SET NOT NULL;
- changeSet:
id: 1701-31
changes:
- sql:
sql: |
- ALTER TABLE participantsupportedacelements ALTER COLUMN typeName SET DEFAULT '';
- UPDATE participantsupportedacelements SET typeName = '' WHERE typeName IS NULL;
- ALTER TABLE participantsupportedacelements ALTER COLUMN typeName SET NOT NULL;
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN typeName SET DEFAULT '';
+ UPDATE ParticipantSupportedAcElements SET typeName = '' WHERE typeName IS NULL;
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN typeName SET NOT NULL;
- changeSet:
id: 1701-32
changes:
- sql:
sql: |
- ALTER TABLE participantsupportedacelements ALTER COLUMN typeVersion SET DEFAULT '1.0.0';
- UPDATE participantsupportedacelements SET typeVersion = '1.0.0' WHERE typeVersion IS NULL;
- ALTER TABLE participantsupportedacelements ALTER COLUMN typeVersion SET NOT NULL;
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN typeVersion SET DEFAULT '1.0.0';
+ UPDATE ParticipantSupportedAcElements SET typeVersion = '1.0.0' WHERE typeVersion IS NULL;
+ ALTER TABLE ParticipantSupportedAcElements ALTER COLUMN typeVersion SET NOT NULL;