Skip to content
Snippets Groups Projects
Commit 3196f69f authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1066090][liquibase update von...

[Projekt: Entwicklung - Neon][TicketNr.: 1066090][liquibase update von 2020.1.0 auf 2020.2.0 schlägt bei MS SQL fehl]
parent b57a97de
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,11 @@
</changeSet>
<changeSet dbms="!derby" author="b.ulrich" id="17c1eb73-3131-4a2b-bf9a-913590767c79">
<dropIndex tableName="COMMUNICATION" indexName="IDX_COMMUNICATION_MEDIUM_ID"/>
<modifyDataType tableName="COMMUNICATION" columnName="MEDIUM_ID" newDataType="CHAR(36)"/>
<createIndex indexName="IDX_COMMUNICATION_MEDIUM_ID" tableName="COMMUNICATION">
<column name="MEDIUM_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -14,6 +14,9 @@
</changeSet>
<changeSet dbms="!derby" author="b.ulrich" id="85ba6a61-9318-4118-ac4c-e33730f6581d">
<dropPrimaryKey tableName="DOCUMENTTEMPLATE" constraintName="PK_DOCUMENTTEMPLATE_DOCUMENTTEMPLATEID" dropIndex="true"/>
<modifyDataType tableName="DOCUMENTTEMPLATE" columnName="DOCUMENTTEMPLATEID" newDataType="CHAR(36)"/>
<addNotNullConstraint columnName="DOCUMENTTEMPLATEID" tableName="DOCUMENTTEMPLATE" columnDataType="CHAR(36)" validate="true"/>
<addPrimaryKey tableName="DOCUMENTTEMPLATE" constraintName="PK_DOCUMENTTEMPLATE_DOCUMENTTEMPLATEID" columnNames="DOCUMENTTEMPLATEID"/>
</changeSet>
</databaseChangeLog>
......@@ -19,8 +19,25 @@
</changeSet>
<changeSet dbms="!derby" author="b.ulrich" id="a53a2f38-3788-44a2-a151-13b3853ccb74">
<!--EXPORTTEMPLATEPLACEOFUSE.EXPORTTEMPLATE_ID-->
<dropIndex tableName="EXPORTTEMPLATEPLACEOFUSE" indexName="idx_exprttmppou_tmpltid"/>
<modifyDataType tableName="EXPORTTEMPLATEPLACEOFUSE" columnName="EXPORTTEMPLATE_ID" newDataType="CHAR(36)"/>
<createIndex indexName="idx_exprttmppou_tmpltid" tableName="EXPORTTEMPLATEPLACEOFUSE">
<column name="EXPORTTEMPLATE_ID"/>
</createIndex>
<!--EXPORTTEMPLATEFIELD.EXPORTTEMPLATE_ID-->
<dropIndex tableName="EXPORTTEMPLATEFIELD" indexName="idx_exprttmpfld_tmpltid"/>
<modifyDataType tableName="EXPORTTEMPLATEFIELD" columnName="EXPORTTEMPLATE_ID" newDataType="CHAR(36)"/>
<createIndex indexName="idx_exprttmpfld_tmpltid" tableName="EXPORTTEMPLATEFIELD">
<column name="EXPORTTEMPLATE_ID"/>
</createIndex>
<!--EXPORTTEMPLATESELECTION.EXPORTTEMPLATE_ID-->
<dropIndex tableName="EXPORTTEMPLATESELECTION" indexName="idx_exprttmpselection_tmpltid"/>
<modifyDataType tableName="EXPORTTEMPLATESELECTION" columnName="EXPORTTEMPLATE_ID" newDataType="CHAR(36)"/>
<createIndex indexName="idx_exprttmpselection_tmpltid" tableName="EXPORTTEMPLATESELECTION">
<column name="EXPORTTEMPLATE_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
......@@ -2,8 +2,8 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="s.pongratz" id="99f19a82-62aa-41fc-b756-da4da3be45de">
<sql>
ALTER TABLE LEAD ADD COLUMN ATTRIBUTE_Industry VARCHAR(100);
</sql>
<addColumn tableName="LEAD">
<column name="ATTRIBUTE_Industry" type="VARCHAR(100)"/>
</addColumn>
</changeSet>
</databaseChangeLog>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment