From 52fa92febce3f1011c9dd9b6364cecc313cb1ef6 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Thu, 7 Mar 2019 16:08:46 +0100 Subject: [PATCH] remove fk --- .../data_alias/basic/2019.2/Product_remove_fk.xml | 9 +++++++++ others/db_changes/data_alias/basic/2019.2/changelog.xml | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 others/db_changes/data_alias/basic/2019.2/Product_remove_fk.xml diff --git a/others/db_changes/data_alias/basic/2019.2/Product_remove_fk.xml b/others/db_changes/data_alias/basic/2019.2/Product_remove_fk.xml new file mode 100644 index 0000000000..a35133d715 --- /dev/null +++ b/others/db_changes/data_alias/basic/2019.2/Product_remove_fk.xml @@ -0,0 +1,9 @@ +<?xml version="1.1" encoding="UTF-8" standalone="no"?> +<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"> + <changeSet author="j.hoermann" id="0601eb26-fc5e-4b57-ad18-2b6a064f383f"> + <dropForeignKeyConstraint baseTableName="PROD2PROD" constraintName="FK_PROD2PROD_SOURCE_ID"/> + <dropForeignKeyConstraint baseTableName="PROD2PROD" constraintName="FK_PROD2PROD_DEST_ID"/> + <dropForeignKeyConstraint baseTableName="OFFERITEM" constraintName="FK_OFFERITEM_PRODUCT_ID"/> + <dropForeignKeyConstraint baseTableName="SALESORDERITEM" constraintName="FK_SALESORDERITEM_PRODUCT_ID"/> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/2019.2/changelog.xml b/others/db_changes/data_alias/basic/2019.2/changelog.xml index 8b06f247f3..491639e21c 100644 --- a/others/db_changes/data_alias/basic/2019.2/changelog.xml +++ b/others/db_changes/data_alias/basic/2019.2/changelog.xml @@ -81,4 +81,6 @@ <include relativeToChangelogFile="true" file="AttributeKeyword.xml"/> <include relativeToChangelogFile="true" file="Contact_add_columns.xml"/> <include relativeToChangelogFile="true" file="SalesOrder_source_offer.xml"/> + + <include relativeToChangelogFile="true" file="Product_remove_fk.xml"/> </databaseChangeLog> -- GitLab