From 49f60b1c0c55524366ece0774fd8254547fa8c89 Mon Sep 17 00:00:00 2001
From: Andre Loreth <a.loreth@adito.de>
Date: Tue, 6 Aug 2019 11:01:40 +0200
Subject: [PATCH] Set DROPDOWNDEFINITION of Ticket / Support / Product
 attribute to 'Product_entity'

---
 .../Data_alias/basic/2019.2.1/changelog.xml   |  2 +-
 ...pdate_attribute_Ticket_Support_Product.xml | 22 +++++++++++++++++++
 .liquibase/Data_alias/changelog.xml           |  1 +
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 .liquibase/Data_alias/basic/2019.2.1/update_attribute_Ticket_Support_Product.xml

diff --git a/.liquibase/Data_alias/basic/2019.2.1/changelog.xml b/.liquibase/Data_alias/basic/2019.2.1/changelog.xml
index 78f4080832..760c8f453f 100644
--- a/.liquibase/Data_alias/basic/2019.2.1/changelog.xml
+++ b/.liquibase/Data_alias/basic/2019.2.1/changelog.xml
@@ -1,5 +1,5 @@
 <?xml version="1.1" encoding="UTF-8" standalone="no"?>
 <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">
-    
+    <include relativeToChangelogFile="true" file="update_attribute_Ticket_Support_Product.xml"/>
 </databaseChangeLog>
diff --git a/.liquibase/Data_alias/basic/2019.2.1/update_attribute_Ticket_Support_Product.xml b/.liquibase/Data_alias/basic/2019.2.1/update_attribute_Ticket_Support_Product.xml
new file mode 100644
index 0000000000..adc095cef0
--- /dev/null
+++ b/.liquibase/Data_alias/basic/2019.2.1/update_attribute_Ticket_Support_Product.xml
@@ -0,0 +1,22 @@
+<?xml version="1.1" encoding="UTF-8" standalone="no"?>
+<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 id="8fc5d294-43b5-4b1c-af5f-cded38dee6f0" author="a.loreth">
+        <update tableName="AB_ATTRIBUTE">
+            <column name="DROPDOWNDEFINITION" value="Product_entity" />
+            <where>AB_ATTRIBUTEID = ?</where>
+            <whereParams>
+                <param value="af312508-8a9b-4b8f-88f3-6b98005c749e" />
+            </whereParams>
+        </update>
+        <rollback>
+            <update tableName="AB_ATTRIBUTE">
+            <column name="DROPDOWNDEFINITION" value="Product" />
+            <where>AB_ATTRIBUTEID = ?</where>
+            <whereParams>
+                <param value="af312508-8a9b-4b8f-88f3-6b98005c749e" />
+            </whereParams>
+        </update>   
+        </rollback>
+    </changeSet>
+</databaseChangeLog>
diff --git a/.liquibase/Data_alias/changelog.xml b/.liquibase/Data_alias/changelog.xml
index 76148abdb9..2007174180 100644
--- a/.liquibase/Data_alias/changelog.xml
+++ b/.liquibase/Data_alias/changelog.xml
@@ -2,6 +2,7 @@
 <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">
     <include relativeToChangelogFile="true" file="basic/init/init.xml"/>
     <include relativeToChangelogFile="true" file="basic/2019.1.4/changelog.xml"/>
+    <include relativeToChangelogFile="true" file="basic/2019.2.1/changelog.xml"/>
     
     <include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
 </databaseChangeLog>
\ No newline at end of file
-- 
GitLab