Skip to content
Snippets Groups Projects
Commit ccf2397c authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong: Committed by Benjamin Ulrich
Browse files

[Projekt: xRM-ContactManagement][TicketNr.: 2001185][[Partner] affinis -...

[Projekt: xRM-ContactManagement][TicketNr.: 2001185][[Partner] affinis - Liquibase-Files nicht MS SQL Server kompatibel]
parent 3d519f53
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
<column name="OBJECT_ROWID" valueComputed="CONTACT_ID"/>
<column name="OBJECT_TYPE" value="Contact"/>
</update>
<dropIndex tableName="COMMUNICATION" indexName="IDX_COMMUNICATION_CONTACT_ID" />
<dropColumn tableName="COMMUNICATION">
<column name="CONTACT_ID"/>
</dropColumn>
......
......@@ -2,6 +2,12 @@
<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="b.ulrich" id="7eb72f9e-1d36-4174-97cb-062e40f72bf7">
<!--Needed for MS SQL, otherwise the column can't be deleted-->
<dropDefaultValue
columnDataType="int"
columnName="OUTDATED"
tableName="CLASSIFICATIONSTORAGE"/>
<dropColumn tableName="CLASSIFICATIONSTORAGE" columnName="OUTDATED"/>
</changeSet>
</databaseChangeLog>
......@@ -2,6 +2,12 @@
<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="b.ulrich" id="21094fcf-539e-4514-8986-e681747a33e2">
<!--Needed for MS SQL, otherwise the column can't be deleted-->
<dropDefaultValue
columnDataType="int"
columnName="OUTDATED"
tableName="CLASSIFICATIONTYPE"/>
<dropColumn tableName="CLASSIFICATIONTYPE" columnName="OUTDATED"/>
<addColumn tableName="CLASSIFICATIONTYPE">
<column name="SORTING" type="SMALLINT" />
......
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