diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry.xml index bf57d6e5328a16d694d400033173a33f773f3c99..a69e1d4f46596853fc509942e3a788c97db16acd 100644 --- a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry.xml +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry.xml @@ -25,4 +25,12 @@ <include relativeToChangelogFile="true" file="ab_keyword_entry/init_TaskType.xml"/> <include relativeToChangelogFile="true" file="ab_keyword_entry/init_AttributeType.xml"/> <include relativeToChangelogFile="true" file="ab_keyword_entry/init_SalesprojectProbability.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_OfferProbability.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_ActivityCategory.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_CommunicationMedium.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_AddressType.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_SalesProjectState.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_SalesProjectPhase.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_SalesprojectEstimation.xml"/> + <include relativeToChangelogFile="true" file="ab_keyword_entry/init_TaskPriority.xml"/> </databaseChangeLog> diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_ActivityCategory.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_ActivityCategory.xml new file mode 100644 index 0000000000000000000000000000000000000000..7e1f5e3c649c80586c2e1401000b4bd826b9be52 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_ActivityCategory.xml @@ -0,0 +1,71 @@ +<?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="a.veogl" id="3e9548bd-2c3e-413f-a8b0-405d926f2790"> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="94529505-1913-4827-9812-026053bfcb51"/> + + <column name="KEYID" value="12ef155a-7be2-405a-af26-d357e5a61c25"/> + <column name="TITLE" value="Visit"/> + <column name="CONTAINER" value="ActivityCategory"/> + <column name="SORTING" valueNumeric="0"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="3b677654-84e2-4b9c-b5d0-ed2b359c45af"/> + + <column name="KEYID" value="7c5c8f92-d40e-4204-859c-fd07467e6f8b"/> + <column name="TITLE" value="E-Mail"/> + <column name="CONTAINER" value="ActivityCategory"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="6febeb71-a8a4-400c-80fd-da27ac935260"/> + + <column name="KEYID" value="f925a037-e869-43c2-8a26-b0a7ade1964e"/> + <column name="TITLE" value="Phone"/> + <column name="CONTAINER" value="ActivityCategory"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="68c3b1f7-2555-4d3b-a252-7df978173884"/> + + <column name="KEYID" value="150bae94-1175-4131-9320-a88dadbffcda"/> + <column name="TITLE" value="Online-Meeting"/> + <column name="CONTAINER" value="ActivityCategory"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="94529505-1913-4827-9812-026053bfcb51" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="3b677654-84e2-4b9c-b5d0-ed2b359c45af" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="6febeb71-a8a4-400c-80fd-da27ac935260" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="68c3b1f7-2555-4d3b-a252-7df978173884" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_AddressType.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_AddressType.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5e48e9b9d2743f01d7bb5b6d402f4759aecc779 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_AddressType.xml @@ -0,0 +1,193 @@ +<?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="a.veogl" id="83126524-0cca-4430-8a2c-571a44a7829d"> + <insert tableName="AB_KEYWORD_ATTRIBUTE"> + <column name="AB_KEYWORD_ATTRIBUTEID" value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd"/> + + <column name="NAME" value="organinsation"/> + <column name="CONTAINER" value="AddressType"/> + <column name="TYPE" value="BOOL_VALUE"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTE"> + <column name="AB_KEYWORD_ATTRIBUTEID" value="c4c5352b-ff72-4323-80b9-631a24dd7245"/> + + <column name="NAME" value="contact"/> + <column name="CONTAINER" value="AddressType"/> + <column name="TYPE" value="BOOL_VALUE"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="49bb6904-dd20-4ede-aaff-ae80131ed274"/> + + <column name="KEYID" value="b3292432-bca2-4674-8b06-b78b2b06351e"/> + <column name="TITLE" value="Office address"/> + <column name="CONTAINER" value="AddressType"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="a62eae3b-b670-4bf7-a144-696d456cd26a"/> + <column name="AB_KEYWORD_ENTRY_ID" value="49bb6904-dd20-4ede-aaff-ae80131ed274"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd"/> + <column name="BOOL_VALUE" valueNumeric="1"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="f4e88624-f2a8-43a5-b5db-51fa0879314f"/> + <column name="AB_KEYWORD_ENTRY_ID" value="49bb6904-dd20-4ede-aaff-ae80131ed274"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="c4c5352b-ff72-4323-80b9-631a24dd7245"/> + <column name="BOOL_VALUE" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="5213a48a-b6d2-47ee-8409-a4af7477535f"/> + + <column name="KEYID" value="a7466ee5-3fba-40bf-93cf-aa20a2b32ad6"/> + <column name="TITLE" value="Home address"/> + <column name="CONTAINER" value="AddressType"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="f6d6f746-bb2c-48c1-92a9-e5624d0a72e1"/> + <column name="AB_KEYWORD_ENTRY_ID" value="5213a48a-b6d2-47ee-8409-a4af7477535f"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd"/> + <column name="BOOL_VALUE" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="d62d4424-ba6c-4b10-ad83-f7d7c156f814"/> + <column name="AB_KEYWORD_ENTRY_ID" value="5213a48a-b6d2-47ee-8409-a4af7477535f"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="c4c5352b-ff72-4323-80b9-631a24dd7245"/> + <column name="BOOL_VALUE" valueNumeric="1"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="045d0567-4535-4d22-84f2-95b3b0e23000"/> + + <column name="KEYID" value="cf1c4cab-d24e-4690-ba52-54bae711cd47"/> + <column name="TITLE" value="Delivery address"/> + <column name="CONTAINER" value="AddressType"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="08f2ba6c-22da-447c-9aa8-052fe401f2bd"/> + <column name="AB_KEYWORD_ENTRY_ID" value="045d0567-4535-4d22-84f2-95b3b0e23000"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd"/> + <column name="BOOL_VALUE" valueNumeric="1"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="a02167af-0518-4e3d-80c7-8e25a725c31c"/> + <column name="AB_KEYWORD_ENTRY_ID" value="045d0567-4535-4d22-84f2-95b3b0e23000"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="c4c5352b-ff72-4323-80b9-631a24dd7245"/> + <column name="BOOL_VALUE" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="e62da2f2-6352-4660-b2ff-1e8a552d298a"/> + + <column name="KEYID" value="dd0ddde2-9add-4309-b3ef-0f1dfb6d4aac"/> + <column name="TITLE" value="Post office box"/> + <column name="CONTAINER" value="AddressType"/> + <column name="SORTING" valueNumeric="4"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="502fd0cf-873e-4a9a-87a9-949c0c3b07af"/> + <column name="AB_KEYWORD_ENTRY_ID" value="e62da2f2-6352-4660-b2ff-1e8a552d298a"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd"/> + <column name="BOOL_VALUE" valueNumeric="1"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="443ffd0a-d5f5-46f8-948e-89d4e6456f4c"/> + <column name="AB_KEYWORD_ENTRY_ID" value="e62da2f2-6352-4660-b2ff-1e8a552d298a"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="c4c5352b-ff72-4323-80b9-631a24dd7245"/> + <column name="BOOL_VALUE" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ATTRIBUTE"> + <where>AB_KEYWORD_ATTRIBUTEID = ?</where> + <whereParams> + <param value="1d5c5d49-0ffd-47fb-af10-542f7cf454cd" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTE"> + <where>AB_KEYWORD_ATTRIBUTEID = ?</where> + <whereParams> + <param value="c4c5352b-ff72-4323-80b9-631a24dd7245" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="49bb6904-dd20-4ede-aaff-ae80131ed274" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="a62eae3b-b670-4bf7-a144-696d456cd26a" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="f4e88624-f2a8-43a5-b5db-51fa0879314f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="5213a48a-b6d2-47ee-8409-a4af7477535f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="f6d6f746-bb2c-48c1-92a9-e5624d0a72e1" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="d62d4424-ba6c-4b10-ad83-f7d7c156f814" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="045d0567-4535-4d22-84f2-95b3b0e23000" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="08f2ba6c-22da-447c-9aa8-052fe401f2bd" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="a02167af-0518-4e3d-80c7-8e25a725c31c" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="e62da2f2-6352-4660-b2ff-1e8a552d298a" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="502fd0cf-873e-4a9a-87a9-949c0c3b07af" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="443ffd0a-d5f5-46f8-948e-89d4e6456f4c" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_CommunicationMedium.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_CommunicationMedium.xml new file mode 100644 index 0000000000000000000000000000000000000000..991fc9bd40ecfeb4bf9607954fbc2c0936f9085b --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_CommunicationMedium.xml @@ -0,0 +1,193 @@ +<?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="a.veogl" id="2b9bfc42-1fd5-452f-88f1-896f9065757a"> + <insert tableName="AB_KEYWORD_ATTRIBUTE"> + <column name="AB_KEYWORD_ATTRIBUTEID" value="7250ff28-1d48-41cc-bb36-8c33ace341bb"/> + + <column name="NAME" value="category"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="TYPE" value="CHAR_VALUE"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTE"> + <column name="AB_KEYWORD_ATTRIBUTEID" value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1"/> + + <column name="NAME" value="contentType"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="TYPE" value="CHAR_VALUE"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="cc16d938-b95f-4e07-a3b4-73f8524bb664"/> + + <column name="KEYID" value="1a4b1ebe-cf06-4bc1-b7af-e4633d38dc79"/> + <column name="TITLE" value="Mobbil"/> + <column name="CONTAINER" value="CommunicationMedium"/> + <column name="SORTING" valueNumeric="0"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="688fe492-d5df-4af0-8bfe-8a7a4b6946d2"/> + <column name="AB_KEYWORD_ENTRY_ID" value="cc16d938-b95f-4e07-a3b4-73f8524bb664"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="7250ff28-1d48-41cc-bb36-8c33ace341bb"/> + <column name="CHAR_VALUE" value="PHONE"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="e1581c4e-24c6-4461-9340-7b69f5a32a58"/> + <column name="AB_KEYWORD_ENTRY_ID" value="cc16d938-b95f-4e07-a3b4-73f8524bb664"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1"/> + <column name="CHAR_VALUE" value="TELEPHONE"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="66950de5-fa8b-465c-8db1-4eb7aac98bd3"/> + + <column name="KEYID" value="85ee16dd-c878-4463-be6a-324c25e76764"/> + <column name="TITLE" value="E-Mail"/> + <column name="CONTAINER" value="CommunicationMedium"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="ace352ee-b9ba-47eb-a55d-4619a4b41e61"/> + <column name="AB_KEYWORD_ENTRY_ID" value="66950de5-fa8b-465c-8db1-4eb7aac98bd3"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="7250ff28-1d48-41cc-bb36-8c33ace341bb"/> + <column name="CHAR_VALUE" value="EMAIL"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="283695a0-1896-4500-a284-b8fd8c9a38ce"/> + <column name="AB_KEYWORD_ENTRY_ID" value="66950de5-fa8b-465c-8db1-4eb7aac98bd3"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1"/> + <column name="CHAR_VALUE" value="EMAIL"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="aa2b9cc9-3e87-4fe9-98a2-a4e417a3324f"/> + + <column name="KEYID" value="2f48600a-5c3f-4201-a0c6-5ce1eb9fee13"/> + <column name="TITLE" value="Phone"/> + <column name="CONTAINER" value="CommunicationMedium"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="bf5385d9-a50c-4c4d-8a98-aa94a894ba65"/> + <column name="AB_KEYWORD_ENTRY_ID" value="aa2b9cc9-3e87-4fe9-98a2-a4e417a3324f"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="7250ff28-1d48-41cc-bb36-8c33ace341bb"/> + <column name="CHAR_VALUE" value="PHONE"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="9cb37456-720e-4886-a142-b30624dc6dc5"/> + <column name="AB_KEYWORD_ENTRY_ID" value="aa2b9cc9-3e87-4fe9-98a2-a4e417a3324f"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1"/> + <column name="CHAR_VALUE" value="TELEPHONE"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="cfebe176-0a64-428d-b0ec-bba454d2ca3e"/> + + <column name="KEYID" value="d08956b8-369e-4b65-88fa-1c37b3368ae3"/> + <column name="TITLE" value="Internet"/> + <column name="CONTAINER" value="CommunicationMedium"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="22b05555-f152-40e2-8ec8-9c1740fcc0e9"/> + <column name="AB_KEYWORD_ENTRY_ID" value="cfebe176-0a64-428d-b0ec-bba454d2ca3e"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="7250ff28-1d48-41cc-bb36-8c33ace341bb"/> + <column name="CHAR_VALUE" value="OTHER"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="0b12da28-e132-4a91-a9ca-beceb811fa44"/> + <column name="AB_KEYWORD_ENTRY_ID" value="cfebe176-0a64-428d-b0ec-bba454d2ca3e"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1"/> + <column name="CHAR_VALUE" value="LINK"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ATTRIBUTE"> + <where>AB_KEYWORD_ATTRIBUTEID = ?</where> + <whereParams> + <param value="7250ff28-1d48-41cc-bb36-8c33ace341bb" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTE"> + <where>AB_KEYWORD_ATTRIBUTEID = ?</where> + <whereParams> + <param value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="cc16d938-b95f-4e07-a3b4-73f8524bb664" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="7250ff28-1d48-41cc-bb36-8c33ace341bb" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="3ea2ea72-e615-4e77-befb-e664fa5ec4e1" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="66950de5-fa8b-465c-8db1-4eb7aac98bd3" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="688fe492-d5df-4af0-8bfe-8a7a4b6946d2" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="e1581c4e-24c6-4461-9340-7b69f5a32a58" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="aa2b9cc9-3e87-4fe9-98a2-a4e417a3324f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="ace352ee-b9ba-47eb-a55d-4619a4b41e61" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="283695a0-1896-4500-a284-b8fd8c9a38ce" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="cfebe176-0a64-428d-b0ec-bba454d2ca3e" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="ace352ee-b9ba-47eb-a55d-4619a4b41e61" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="283695a0-1896-4500-a284-b8fd8c9a38ce" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_OfferProbability.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_OfferProbability.xml new file mode 100644 index 0000000000000000000000000000000000000000..c80273b4d5a415896841963a2a809ad144912668 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_OfferProbability.xml @@ -0,0 +1,160 @@ +<?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="a.voegl" id="3765fc5c-807c-4f33-a125-050a597b279b"> + <insert tableName="AB_KEYWORD_ATTRIBUTE"> + <column name="AB_KEYWORD_ATTRIBUTEID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + + <column name="NAME" value="percentValue"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="TYPE" value="NUMBER_VALUE"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="e14fab55-4a85-48c2-a109-125eaed9dc3f"/> + + <column name="KEYID" value="834f814d-4e31-4289-be6c-fad2dea3f2f0"/> + <column name="TITLE" value="0%"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="SORTING" valueNumeric="0"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="a7cc397c-b246-4552-9bf4-537ad4d4476d"/> + <column name="AB_KEYWORD_ENTRY_ID" value="e14fab55-4a85-48c2-a109-125eaed9dc3f"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + <column name="NUMBER_VALUE" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="8f55a5e3-00a9-4691-ab79-309a3eda68ec"/> + + <column name="KEYID" value="98ce5f41-90f5-434f-9e72-cdac4a0f5214"/> + <column name="TITLE" value="25%"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="fde64249-12c6-4140-9f3f-19585c2ba8fd"/> + <column name="AB_KEYWORD_ENTRY_ID" value="8f55a5e3-00a9-4691-ab79-309a3eda68ec"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + <column name="NUMBER_VALUE" valueNumeric="25"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="808a55bc-5876-4deb-a78f-bb352c41d712"/> + + <column name="KEYID" value="c510907f-8478-471e-b702-5008908504bd"/> + <column name="TITLE" value="50%"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="ad5da2d5-31ed-433d-8822-16ca9f763a9f"/> + <column name="AB_KEYWORD_ENTRY_ID" value="808a55bc-5876-4deb-a78f-bb352c41d712"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + <column name="NUMBER_VALUE" valueNumeric="50"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="941e60df-a4f5-4ae8-9ca1-d9f2b2d01d9d"/> + + <column name="KEYID" value="2dca6f38-b49a-4716-8c83-9d2183c5c065"/> + <column name="TITLE" value="75%"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="36fa5f86-6abf-4065-ae3d-e8e614985967"/> + <column name="AB_KEYWORD_ENTRY_ID" value="941e60df-a4f5-4ae8-9ca1-d9f2b2d01d9d"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + <column name="NUMBER_VALUE" valueNumeric="75"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="2f21341b-9991-4967-a785-60216ec8c25e"/> + + <column name="KEYID" value="dc7c62fe-ce4b-41e3-91ab-ce0b740ccaeb"/> + <column name="TITLE" value="100%"/> + <column name="CONTAINER" value="OfferProbability"/> + <column name="SORTING" valueNumeric="4"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <column name="AB_KEYWORD_ATTRIBUTERELATIONID" value="173b7c41-4f00-486d-8e24-8c7e9feb246b"/> + <column name="AB_KEYWORD_ENTRY_ID" value="2f21341b-9991-4967-a785-60216ec8c25e"/> + <column name="AB_KEYWORD_ATTRIBUTE_ID" value="b9766994-4e7d-4079-a0bc-f1397f93047f"/> + <column name="NUMBER_VALUE" valueNumeric="100"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ATTRIBUTE"> + <where>AB_KEYWORD_ATTRIBUTEID = ?</where> + <whereParams> + <param value="b9766994-4e7d-4079-a0bc-f1397f93047f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="e14fab55-4a85-48c2-a109-125eaed9dc3f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="a7cc397c-b246-4552-9bf4-537ad4d4476d" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="8f55a5e3-00a9-4691-ab79-309a3eda68ec" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="fde64249-12c6-4140-9f3f-19585c2ba8fd" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="808a55bc-5876-4deb-a78f-bb352c41d712" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="ad5da2d5-31ed-433d-8822-16ca9f763a9f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="941e60df-a4f5-4ae8-9ca1-d9f2b2d01d9d" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="36fa5f86-6abf-4065-ae3d-e8e614985967" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="2f21341b-9991-4967-a785-60216ec8c25e" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ATTRIBUTERELATION"> + <where>AB_KEYWORD_ATTRIBUTERELATIONID = ?</where> + <whereParams> + <param value="173b7c41-4f00-486d-8e24-8c7e9feb246b" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectEstimation.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectEstimation.xml new file mode 100644 index 0000000000000000000000000000000000000000..fdea48061581d8c89f4d23827541ddb44d868c70 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectEstimation.xml @@ -0,0 +1,183 @@ +<?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="a.veogl" id="616f99aa-2067-43a4-b2cf-a642fe00e84d"> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="0a1dd1ed-800b-4b1d-a253-7936dac95a9d"/> + + <column name="KEYID" value="c6c49da4-80dc-4c32-b5b0-c33eac27de7f"/> + <column name="TITLE" value="Project_volume sufficient"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="1d670df0-ab0e-45b6-85b8-d1ae4439da70"/> + + <column name="KEYID" value="9237ee74-bb91-4333-8114-4485b35cf8d7"/> + <column name="TITLE" value="Project_budget available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="0c7250da-a8ec-4509-98f4-660ad671837a"/> + + <column name="KEYID" value="e3e16d06-1390-4d84-81bd-c495a401cc70"/> + <column name="TITLE" value="Project_specifications available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="a5fb241b-0818-41b7-ae4f-939c2aa0b112"/> + + <column name="KEYID" value="2ef3ac7d-72b8-43b3-9cc1-64ffdf43fe2f"/> + <column name="TITLE" value="Project_timeframe critical"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="4"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="6c932def-573d-409c-94b7-3e8640f2bdc6"/> + + <column name="KEYID" value="4b322f3f-815e-442e-ac63-a983f3efca6b"/> + <column name="TITLE" value="Project_payment default/penalty critical"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="5"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="9f00cf54-d28b-4d77-a828-791c6d336d41"/> + + <column name="KEYID" value="3179371b-b647-4141-b575-3c26ce9f9213"/> + <column name="TITLE" value="Project_references available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="6"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="f7d55e39-1600-4a74-bfac-c6298e527e2d"/> + + <column name="KEYID" value="3088256a-f247-40cb-ad4e-33892cbf5ca3"/> + <column name="TITLE" value="Product_requirements suitable"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="7"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="819d7bf1-1248-435d-9131-8faaae0a4a37"/> + + <column name="KEYID" value="a2faa45e-bc7a-41f6-8130-7c7a636ddc9f"/> + <column name="TITLE" value="Product_philosophy fitting"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="8"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="74828345-edb0-47b4-aa80-1bc956021f43"/> + + <column name="KEYID" value="d2e97e88-77fd-4fdb-8d5e-30807e2a40e2"/> + <column name="TITLE" value="Product_industry template available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="9"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="57defed0-4545-40c9-bbd0-3014511332fc"/> + + <column name="KEYID" value="87fd87af-1cb6-40fb-843e-aee612862362"/> + <column name="TITLE" value="Other_sympathy available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="10"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="9d6739d7-9f76-4f8e-a641-a141d087fc1c"/> + + <column name="KEYID" value="5de71df0-5086-49b8-bd72-a2c0a698e134"/> + <column name="TITLE" value="Other_advocate available"/> + <column name="CONTAINER" value="SalesprojectEstimation"/> + <column name="SORTING" valueNumeric="11"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="0a1dd1ed-800b-4b1d-a253-7936dac95a9d" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="1d670df0-ab0e-45b6-85b8-d1ae4439da70" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="0c7250da-a8ec-4509-98f4-660ad671837a" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="a5fb241b-0818-41b7-ae4f-939c2aa0b112" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="6c932def-573d-409c-94b7-3e8640f2bdc6" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="9f00cf54-d28b-4d77-a828-791c6d336d41" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="f7d55e39-1600-4a74-bfac-c6298e527e2d" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="819d7bf1-1248-435d-9131-8faaae0a4a37" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="74828345-edb0-47b4-aa80-1bc956021f43" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="57defed0-4545-40c9-bbd0-3014511332fc" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="9d6739d7-9f76-4f8e-a641-a141d087fc1c" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectPhase.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectPhase.xml new file mode 100644 index 0000000000000000000000000000000000000000..f5216b4ba27d38367662c26a67ba838df31ed72b --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectPhase.xml @@ -0,0 +1,263 @@ +<?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="a.veogl" id="40103ba2-1a35-4707-b9eb-91c8c19fc32b"> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="b42caac9-8f8f-46e5-9f1c-d121cdf3ad8f"/> + + <column name="KEYID" value="9f7d1fa9-7c09-4037-8f7c-8458def14d89"/> + <column name="TITLE" value="NQC"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="0"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="8a2d19c9-bc32-437e-9261-78ed30110e92"/> + + <column name="KEYID" value="292628f1-d9a5-432d-8130-f6690c14a5d4"/> + <column name="TITLE" value="MAL"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="46f55a58-dbe4-40ae-9306-481df9095088"/> + + <column name="KEYID" value="4467b33c-3a68-4c8b-ba4a-1eb666a6c774"/> + <column name="TITLE" value="MQL"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="afa8cf58-07e8-4ee9-b24e-96cb6fa76aec"/> + + <column name="KEYID" value="1e42f183-fb97-415f-9917-b43ca159fde4"/> + <column name="TITLE" value="SAL"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="c9483fb9-c295-43d2-94e0-8c949cf6dc47"/> + + <column name="KEYID" value="972a41dc-a8ae-43cd-a03b-522ea84efbfb"/> + <column name="TITLE" value="SQO"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="4"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="0e8eab64-4c79-4eed-9746-0ac6fc397620"/> + + <column name="KEYID" value="60d09bb1-7e02-4003-99bf-18b739a577ad"/> + <column name="TITLE" value="Offer"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="5"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="405e2b7b-20c2-4824-a8b5-c7a533784ef3"/> + + <column name="KEYID" value="213c8184-f930-457e-8605-703baaf21d4a"/> + <column name="TITLE" value="Negotiation"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="6"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="f630f573-baae-4041-aeb0-41ff30ad188a"/> + + <column name="KEYID" value="4eb20149-3a76-4f5d-b8b7-9b529d8d564d"/> + <column name="TITLE" value="Project decision"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="7"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="4895c091-f810-4c64-9bba-698c07a59c5e"/> + + <column name="KEYID" value="00a104d7-3af4-4250-bad3-1288b9df8152"/> + <column name="TITLE" value="Negotiation"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="8"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="b255450e-418c-41dd-be47-26c69aedbffa"/> + + <column name="KEYID" value="ae5ecf72-3146-4d75-a7ff-7b628868672f"/> + <column name="TITLE" value="Workshop"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="9"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="de2e8c2a-ef34-4d62-8d65-a4ca530e7236"/> + + <column name="KEYID" value="2f2afad4-6f1f-47f9-9830-4cbae67f9dc1"/> + <column name="TITLE" value="Presentation follow-up"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="10"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="58f6b20b-0cae-4a1c-bb47-d2bfaab58df5"/> + + <column name="KEYID" value="a6f57de3-02c2-44a8-9821-975b3a807b46"/> + <column name="TITLE" value="Presentation preparation"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="11"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="4f957f7d-173d-4450-8502-ba8dc3351db3"/> + + <column name="KEYID" value="a6205bc6-e80f-41fb-9686-2940703eac96"/> + <column name="TITLE" value="Deliver opinion"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="12"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="ee7de36d-b33b-4e5c-b750-5ec2798d2964"/> + + <column name="KEYID" value="8ae1d693-667f-4412-aa1b-eb45c5437aa6"/> + <column name="TITLE" value="Specifications in progress"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="13"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="1991320a-3e15-4ed3-867a-5c7c39a4cf4a"/> + + <column name="KEYID" value="874efae4-aae1-467f-896c-09d8ffe1e7af"/> + <column name="TITLE" value="Waiting for requirements"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="14"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="adb3d122-992c-4d00-88a8-c04ec6e15cd3"/> + + <column name="KEYID" value="11a3e3d1-aad0-4673-982d-e2533b0b4de6"/> + <column name="TITLE" value="Lead"/> + <column name="CONTAINER" value="SalesprojectPhase"/> + <column name="SORTING" valueNumeric="15"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="b42caac9-8f8f-46e5-9f1c-d121cdf3ad8f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="8a2d19c9-bc32-437e-9261-78ed30110e92" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="46f55a58-dbe4-40ae-9306-481df9095088" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="afa8cf58-07e8-4ee9-b24e-96cb6fa76aec" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="c9483fb9-c295-43d2-94e0-8c949cf6dc47" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="0e8eab64-4c79-4eed-9746-0ac6fc397620" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="405e2b7b-20c2-4824-a8b5-c7a533784ef3" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="f630f573-baae-4041-aeb0-41ff30ad188a" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="4895c091-f810-4c64-9bba-698c07a59c5e" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="b255450e-418c-41dd-be47-26c69aedbffa" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="de2e8c2a-ef34-4d62-8d65-a4ca530e7236" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="58f6b20b-0cae-4a1c-bb47-d2bfaab58df5" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="4f957f7d-173d-4450-8502-ba8dc3351db3" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="ee7de36d-b33b-4e5c-b750-5ec2798d2964" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="1991320a-3e15-4ed3-867a-5c7c39a4cf4a" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="adb3d122-992c-4d00-88a8-c04ec6e15cd3" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectState.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectState.xml new file mode 100644 index 0000000000000000000000000000000000000000..ce858a70d018230f40877955af88b26e8c2cfc5b --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_SalesprojectState.xml @@ -0,0 +1,103 @@ +<?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.goderbauer" id="033b6fcb-53d9-4e23-8c29-4e739294a704"> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="c6eeab06-cec9-42c3-8f11-468c7e602de4"/> + + <column name="KEYID" value="25b0ac77-ef92-4809-802e-bb9d8782f865"/> + <column name="TITLE" value="Open"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="115495eb-dff4-436d-8114-b9a7644586bf"/> + + <column name="KEYID" value="23d38486-4cce-41ce-a8df-164ad44df706"/> + <column name="TITLE" value="Postponed"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="9212a797-4470-4170-b4d1-330a5d991625"/> + + <column name="KEYID" value="8916e241-9452-4541-a323-d479ad5f2e4d"/> + <column name="TITLE" value="Aborted"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="1f857be1-7de0-479f-bac8-59b22d48fe39"/> + + <column name="KEYID" value="1606cf46-a87b-4797-830e-55ebdd70a001"/> + <column name="TITLE" value="Partial order"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="4"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="19997ffa-bfe3-4f6a-82f8-e862acb24655"/> + + <column name="KEYID" value="130bb53a-a97e-455e-8f34-8d445e985474"/> + <column name="TITLE" value="Order"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="5"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="d8e2cc64-cc61-440e-b0fc-3d5b45d75ba0"/> + + <column name="KEYID" value="d8a60f60-a4e6-46ee-88ec-bac53e1afedd"/> + <column name="TITLE" value="Lost"/> + <column name="CONTAINER" value="SalesprojectState"/> + <column name="SORTING" valueNumeric="6"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="c6eeab06-cec9-42c3-8f11-468c7e602de4" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="115495eb-dff4-436d-8114-b9a7644586bf" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="9212a797-4470-4170-b4d1-330a5d991625" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="1f857be1-7de0-479f-bac8-59b22d48fe39" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="19997ffa-bfe3-4f6a-82f8-e862acb24655" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="d8e2cc64-cc61-440e-b0fc-3d5b45d75ba0" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_TaskPriority.xml b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_TaskPriority.xml new file mode 100644 index 0000000000000000000000000000000000000000..fce5009876218c1b847fee39291c5141f5ad3e8e --- /dev/null +++ b/others/db_changes/data_alias/basic/init/data/AditoBasic/ab_keyword_entry/init_TaskPriority.xml @@ -0,0 +1,71 @@ +<?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="a.veogl" id="e4867853-0540-4c9b-86b3-571ad81635bf"> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="97ec9a7e-a1dd-4167-bf7d-57ee3d79d46f"/> + + <column name="KEYID" value="f587f53a-72cc-4b76-9e39-276a26cab2e0"/> + <column name="TITLE" value="{$TASK_PRIORITY_NONE}"/> + <column name="CONTAINER" value="TaskPriority"/> + <column name="SORTING" valueNumeric="0"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="798c1720-901e-4eae-bab3-80f334830601"/> + + <column name="KEYID" value="09072b59-d12f-469b-acbd-18a28232ff70"/> + <column name="TITLE" value="{$TASK_PRIORITY_LOW}"/> + <column name="CONTAINER" value="TaskPriority"/> + <column name="SORTING" valueNumeric="1"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="53a01187-5306-4980-8c40-153e910dd115"/> + + <column name="KEYID" value="44f6ff46-6adc-48a7-bb3a-0ba4152fe135"/> + <column name="TITLE" value="{$TASK_PRIORITY_NORMAL}"/> + <column name="CONTAINER" value="TaskPriority"/> + <column name="SORTING" valueNumeric="2"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <insert tableName="AB_KEYWORD_ENTRY"> + <column name="AB_KEYWORD_ENTRYID" value="3d17defd-5b6e-4e19-816c-f9a19aca3cc0"/> + + <column name="KEYID" value="d1c4f78f-d1b1-4bb6-8f18-1b2e28dd20b5"/> + <column name="TITLE" value="{$TASK_PRIORITY_HIGH}"/> + <column name="CONTAINER" value="TaskPriority"/> + <column name="SORTING" valueNumeric="3"/> + <column name="ISACTIVE" valueNumeric="1"/> + <column name="ISESSENTIAL" valueNumeric="0"/> + </insert> + <rollback> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="97ec9a7e-a1dd-4167-bf7d-57ee3d79d46f" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="798c1720-901e-4eae-bab3-80f334830601" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="53a01187-5306-4980-8c40-153e910dd115" /> + </whereParams> + </delete> + <delete tableName="AB_KEYWORD_ENTRY"> + <where>AB_KEYWORD_ENTRYID = ?</where> + <whereParams> + <param value="3d17defd-5b6e-4e19-816c-f9a19aca3cc0" /> + </whereParams> + </delete> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/init.xml b/others/db_changes/data_alias/basic/init/init.xml index c4653839c7b975a5f2951845804b0ef995888eeb..312b0800a78c60d4c39cf7365a645f57274d4c8e 100644 --- a/others/db_changes/data_alias/basic/init/init.xml +++ b/others/db_changes/data_alias/basic/init/init.xml @@ -44,4 +44,15 @@ <include relativeToChangelogFile="true" file="data/AditoBasic/ab_countryinfo/init_ab_countryinfo.xml"/> <include relativeToChangelogFile="true" file="data/AditoBasic/init_ab_language.xml"/> + + <include file="struct/changes/1550581092255-OfferProbability.xml"/> + <include file="struct/changes/1550652606707-ActivityCategory.xml"/> + <include file="struct/changes/1550654673223-CommunicationMedium.xml"/> + <include file="struct/changes/1550658375344-AddressType.xml"/> + <include file="struct/changes/1550659558300-SalesProjectPricePolitics.xml"/> + <include file="struct/changes/1550671004296-SalesProjectEstimation.xml"/> + <include file="struct/changes/1550663697843-SalesProjectStrength.xml"/> + <include file="struct/changes/15506733864429-SalesProjectState.xml"/> + <include file="struct/changes/1550659558300-SalesProjectWeakness.xml"/> + <include file="struct/changes/1550732429916-TaskPriority.xml"/> </databaseChangeLog> diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550581092255-OfferProbability.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550581092255-OfferProbability.xml new file mode 100644 index 0000000000000000000000000000000000000000..4734037705ad8e52d3a92ab090d122b10a89a64e --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550581092255-OfferProbability.xml @@ -0,0 +1,58 @@ +<?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="a.voegl" id="fa33c0ca-f311-45ab-b8ad-359241301584"> + <renameColumn newColumnName="PROBABILITY_OLD" oldColumnName="PROBABILITY" tableName="OFFER"/> + <addColumn tableName="OFFER"> + <column name="PROBABILITY" type="CHAR(36)"/> + </addColumn> + <update tableName="OFFER"> + <column name="PROBABILITY" value="834f814d-4e31-4289-be6c-fad2dea3f2f0"/> + <where>PROBABILITY_OLD = 1</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" value="98ce5f41-90f5-434f-9e72-cdac4a0f5214"/> + <where>PROBABILITY_OLD = 2</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" value="c510907f-8478-471e-b702-5008908504b"/> + <where>PROBABILITY_OLD = 3</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" value="2dca6f38-b49a-4716-8c83-9d2183c5c065"/> + <where>PROBABILITY_OLD = 4</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" value="dc7c62fe-ce4b-41e3-91ab-ce0b740ccaeb"/> + <where>PROBABILITY_OLD = 5</where> + </update> + <dropColumn tableName="OFFER" columnName="PROBABILITY_OLD"/> + + <rollback> + <renameColumn newColumnName="PROBABILITY_OLD" oldColumnName="PROBABILITY" tableName="OFFER"/> + <addColumn tableName="OFFER"> + <column name="PROBABILITY" type="INTEGER"/> + </addColumn> + <update tableName="OFFER"> + <column name="PROBABILITY" valueNumeric="1"/> + <where>PROBABILITY_OLD = '834f814d-4e31-4289-be6c-fad2dea3f2f0'</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" valueNumeric="2"/> + <where>PROBABILITY_OLD = '98ce5f41-90f5-434f-9e72-cdac4a0f5214'</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" valueNumeric="3"/> + <where>PROBABILITY_OLD = 'c510907f-8478-471e-b702-5008908504b'</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" valueNumeric="4"/> + <where>PROBABILITY_OLD = '2dca6f38-b49a-4716-8c83-9d2183c5c065'</where> + </update> + <update tableName="OFFER"> + <column name="PROBABILITY" valueNumeric="5"/> + <where>PROBABILITY_OLD = 'dc7c62fe-ce4b-41e3-91ab-ce0b740ccaeb'</where> + </update> + <dropColumn tableName="OFFER" columnName="PROBABILITY_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550652606707-ActivityCategory.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550652606707-ActivityCategory.xml new file mode 100644 index 0000000000000000000000000000000000000000..fcbb269fbdfb34ae7b5fbdf4df342abc124457da --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550652606707-ActivityCategory.xml @@ -0,0 +1,50 @@ +<?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="a.voegl" id="7c558f07-2ee7-4eb3-8b8c-a433acc7c39b"> + <renameColumn newColumnName="CATEGORY_OLD" oldColumnName="CATEGORY" tableName="ACTIVITY"/> + <addColumn tableName="ACTIVITY"> + <column name="CATEGORY" type="CHAR(36)"/> + </addColumn> + <update tableName="ACTIVITY"> + <column name="CATEGORY" value="12ef155a-7be2-405a-af26-d357e5a61c25"/> + <where>CATEGORY_OLD = 0</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" value="7c5c8f92-d40e-4204-859c-fd07467e6f8b"/> + <where>CATEGORY_OLD = 1</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" value="f925a037-e869-43c2-8a26-b0a7ade1964e"/> + <where>CATEGORY_OLD = 2</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" value="150bae94-1175-4131-9320-a88dadbffcda"/> + <where>CATEGORY_OLD = 3</where> + </update> + <dropColumn tableName="ACTIVITY" columnName="CATEGORY_OLD"/> + + <rollback> + <renameColumn newColumnName="CATEGORY_OLD" oldColumnName="CATEGORY" tableName="ACTIVITY"/> + <addColumn tableName="ACTIVITY"> + <column name="CATEGORY" type="INTEGER"/> + </addColumn> + <update tableName="ACTIVITY"> + <column name="CATEGORY" valueNumeric="0"/> + <where>CATEGORY_OLD = '12ef155a-7be2-405a-af26-d357e5a61c25'</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" valueNumeric="1"/> + <where>CATEGORY_OLD = '7c5c8f92-d40e-4204-859c-fd07467e6f8b'</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" valueNumeric="2"/> + <where>CATEGORY_OLD = 'f925a037-e869-43c2-8a26-b0a7ade1964e'</where> + </update> + <update tableName="ACTIVITY"> + <column name="CATEGORY" valueNumeric="3"/> + <where>CATEGORY_OLD = '150bae94-1175-4131-9320-a88dadbffcda'</where> + </update> + <dropColumn tableName="ACTIVITY" columnName="CATEGORY_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550654673223-CommunicationMedium.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550654673223-CommunicationMedium.xml new file mode 100644 index 0000000000000000000000000000000000000000..41ec048e1ac61aff091825420e5dc45f7a453eba --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550654673223-CommunicationMedium.xml @@ -0,0 +1,50 @@ +<?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="a.voegl" id="72dc4a28-da73-4c4a-bd7e-2fbedd0abe4a"> + <renameColumn newColumnName="MEDIUM_OLD" oldColumnName="MEDIUM_ID" tableName="COMMUNICATION"/> + <addColumn tableName="COMMUNICATION"> + <column name="MEDIUM_ID" type="CHAR(36)"/> + </addColumn> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" value="1a4b1ebe-cf06-4bc1-b7af-e4633d38dc79"/> + <where>MEDIUM_OLD = 0</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" value="85ee16dd-c878-4463-be6a-324c25e76764"/> + <where>MEDIUM_OLD = 1</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" value="2f48600a-5c3f-4201-a0c6-5ce1eb9fee13"/> + <where>MEDIUM_OLD = 2</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" value="d08956b8-369e-4b65-88fa-1c37b3368ae3"/> + <where>MEDIUM_OLD = 3</where> + </update> + <dropColumn tableName="COMMUNICATION" columnName="MEDIUM_OLD"/> + + <rollback> + <renameColumn newColumnName="MEDIUM_OLD" oldColumnName="MEDIUM_ID" tableName="COMMUNICATION"/> + <addColumn tableName="COMMUNICATION"> + <column name="MEDIUM_ID" type="INTEGER"/> + </addColumn> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" valueNumeric="0"/> + <where>MEDIUM_OLD = '1a4b1ebe-cf06-4bc1-b7af-e4633d38dc79'</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" valueNumeric="1"/> + <where>MEDIUM_OLD = '85ee16dd-c878-4463-be6a-324c25e76764'</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" valueNumeric="2"/> + <where>MEDIUM_OLD = '2f48600a-5c3f-4201-a0c6-5ce1eb9fee13'</where> + </update> + <update tableName="COMMUNICATION"> + <column name="MEDIUM_ID" valueNumeric="3"/> + <where>MEDIUM_OLD = 'd08956b8-369e-4b65-88fa-1c37b3368ae3'</where> + </update> + <dropColumn tableName="COMMUNICATION" columnName="MEDIUM_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550658375344-AddressType.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550658375344-AddressType.xml new file mode 100644 index 0000000000000000000000000000000000000000..64f8191fc2f44baa0e91a15cf714985ab13b797b --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550658375344-AddressType.xml @@ -0,0 +1,50 @@ +<?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="a.voegl" id="6604df3f-37ad-4658-80c5-abe75fa71c14"> + <renameColumn newColumnName="ADDR_TYPE_OLD" oldColumnName="ADDR_TYPE" tableName="ADDRESS"/> + <addColumn tableName="ADDRESS"> + <column name="ADDR_TYPE" type="CHAR(36)"/> + </addColumn> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" value="b3292432-bca2-4674-8b06-b78b2b06351e"/> + <where>ADDR_TYPE_OLD = 1</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" value="a7466ee5-3fba-40bf-93cf-aa20a2b32ad6"/> + <where>ADDR_TYPE_OLD = 2</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" value="cf1c4cab-d24e-4690-ba52-54bae711cd47"/> + <where>ADDR_TYPE_OLD = 3</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" value="dd0ddde2-9add-4309-b3ef-0f1dfb6d4aac"/> + <where>ADDR_TYPE_OLD = 4</where> + </update> + <dropColumn tableName="ADDRESS" columnName="ADDR_TYPE_OLD"/> + + <rollback> + <renameColumn newColumnName="ADDR_TYPE_OLD" oldColumnName="ADDR_TYPE" tableName="ADDRESS"/> + <addColumn tableName="ADDRESS"> + <column name="ADDR_TYPE" type="INTEGER"/> + </addColumn> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" valueNumeric="1"/> + <where>ADDR_TYPE_OLD = 'b3292432-bca2-4674-8b06-b78b2b06351e'</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" valueNumeric="2"/> + <where>ADDR_TYPE_OLD = 'a7466ee5-3fba-40bf-93cf-aa20a2b32ad6'</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" valueNumeric="3"/> + <where>ADDR_TYPE_OLD = 'cf1c4cab-d24e-4690-ba52-54bae711cd47'</where> + </update> + <update tableName="ADDRESS"> + <column name="ADDR_TYPE" valueNumeric="4"/> + <where>ADDR_TYPE_OLD = 'dd0ddde2-9add-4309-b3ef-0f1dfb6d4aac'</where> + </update> + <dropColumn tableName="ADDRESS" columnName="ADDR_TYPE_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectPricePolitics.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectPricePolitics.xml new file mode 100644 index 0000000000000000000000000000000000000000..8153cc75b9bb9a40c4829c44a1648b3e30aaf43e --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectPricePolitics.xml @@ -0,0 +1,42 @@ +<?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="a.voegl" id="99538b46-216c-4c4f-ae29-888742df56c1"> + <renameColumn newColumnName="PRICE_POLITICS_OLD" oldColumnName="PRICE_POLITICS" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="PRICE_POLITICS" type="CHAR(36)"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" value="45339ba2-2412-4211-8865-43175dfac072"/> + <where>PRICE_POLITICS_OLD = 1</where> + </update> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" value="b00a6be1-2926-4aa7-868c-6519f8e0043a"/> + <where>PRICE_POLITICS_OLD = 2</where> + </update> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" value="983b01e3-68cf-4c97-a7ab-de636cf5ee83"/> + <where>PRICE_POLITICS_OLD = 3</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="PRICE_POLITICS_OLD"/> + + <rollback> + <renameColumn newColumnName="PRICE_POLITICS_OLD" oldColumnName="PRICE_POLITICS" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="PRICE_POLITICS" type="INTEGER"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" valueNumeric="1"/> + <where>PRICE_POLITICS_OLD = '45339ba2-2412-4211-8865-43175dfac072'</where> + </update> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" valueNumeric="2"/> + <where>PRICE_POLITICS_OLD = 'b00a6be1-2926-4aa7-868c-6519f8e0043a'</where> + </update> + <update tableName="ORGANISATION"> + <column name="PRICE_POLITICS" valueNumeric="3"/> + <where>PRICE_POLITICS_OLD = '983b01e3-68cf-4c97-a7ab-de636cf5ee83'</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="PRICE_POLITICS_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectWeakness.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectWeakness.xml new file mode 100644 index 0000000000000000000000000000000000000000..1e3ff5dfb738ccdc6845350f0f43790de57c2486 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550659558300-SalesProjectWeakness.xml @@ -0,0 +1,42 @@ +<?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="a.voegl" id="0b194aa7-44da-46d8-98f3-a4ab87b9fd0e"> + <renameColumn newColumnName="WEAKNESS_OLD" oldColumnName="WEAKNESS" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="WEAKNESS" type="CHAR(36)"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" value="316a1ef2-cdfd-476b-863c-faeb7d53305f"/> + <where>WEAKNESS_OLD = 1</where> + </update> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" value="558eb63d-f167-46c8-87b3-131e9cfacdcb"/> + <where>WEAKNESS_OLD = 2</where> + </update> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" value="6fea454d-55f3-4923-9e90-b8d24b7a48ae"/> + <where>WEAKNESS_OLD = 3</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="WEAKNESS_OLD"/> + + <rollback> + <renameColumn newColumnName="WEAKNESS_OLD" oldColumnName="WEAKNESS" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="WEAKNESS" type="INTEGER"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" valueNumeric="1"/> + <where>WEAKNESS_OLD = '316a1ef2-cdfd-476b-863c-faeb7d53305f'</where> + </update> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" valueNumeric="2"/> + <where>WEAKNESS_OLD = '558eb63d-f167-46c8-87b3-131e9cfacdcb'</where> + </update> + <update tableName="ORGANISATION"> + <column name="WEAKNESS" valueNumeric="3"/> + <where>WEAKNESS_OLD = '6fea454d-55f3-4923-9e90-b8d24b7a48ae'</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="WEAKNESS_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550663697843-SalesProjectStrength.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550663697843-SalesProjectStrength.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae35aed7f007d357961742c22b4581c50277fe49 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550663697843-SalesProjectStrength.xml @@ -0,0 +1,42 @@ +<?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="a.voegl" id="ed05d1c9-045e-43c8-bbca-5dacee2855ba"> + <renameColumn newColumnName="STRENGTH_OLD" oldColumnName="STRENGTH" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="STRENGTH" type="CHAR(36)"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="STRENGTH" value="a30e5d5c-88e2-4674-98d3-8a88622a62a8"/> + <where>STRENGTH_OLD = 0</where> + </update> + <update tableName="ORGANISATION"> + <column name="STRENGTH" value="b5def5d7-a843-4e5e-b56e-e18e26fd0bc1"/> + <where>STRENGTH_OLD = 1</where> + </update> + <update tableName="ORGANISATION"> + <column name="STRENGTH" value="2eda4875-53e6-4359-b367-464d006cf9b3"/> + <where>STRENGTH_OLD = 2</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="STRENGTH_OLD"/> + + <rollback> + <renameColumn newColumnName="STRENGTH_OLD" oldColumnName="STRENGTH" tableName="ORGANISATION"/> + <addColumn tableName="ORGANISATION"> + <column name="STRENGTH" type="INTEGER"/> + </addColumn> + <update tableName="ORGANISATION"> + <column name="STRENGTH" valueNumeric="0"/> + <where>STRENGTH_OLD = 'a30e5d5c-88e2-4674-98d3-8a88622a62a8'</where> + </update> + <update tableName="ORGANISATION"> + <column name="STRENGTH" valueNumeric="1"/> + <where>STRENGTH_OLD = 'b5def5d7-a843-4e5e-b56e-e18e26fd0bc1'</where> + </update> + <update tableName="ORGANISATION"> + <column name="STRENGTH" valueNumeric="2"/> + <where>STRENGTH_OLD = '2eda4875-53e6-4359-b367-464d006cf9b3'</where> + </update> + <dropColumn tableName="ORGANISATION" columnName="STRENGTH_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550671004296-SalesProjectEstimation.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550671004296-SalesProjectEstimation.xml new file mode 100644 index 0000000000000000000000000000000000000000..740b8ccaf4323ccfc6a055e31a53f2c237f0830c --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550671004296-SalesProjectEstimation.xml @@ -0,0 +1,106 @@ +<?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="a.voegl" id="41eb17e3-2e67-4d45-907a-a2762e29b50c"> + <renameColumn newColumnName="ESTIMATIONVALUE_OLD" oldColumnName="ESTIMATIONVALUE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" type="CHAR(36)"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="c6c49da4-80dc-4c32-b5b0-c33eac27de7f"/> + <where>ESTIMATIONVALUE_OLD = 1</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="9237ee74-bb91-4333-8114-4485b35cf8d7"/> + <where>ESTIMATIONVALUE_OLD = 2</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="e3e16d06-1390-4d84-81bd-c495a401cc70"/> + <where>ESTIMATIONVALUE_OLD = 3</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="2ef3ac7d-72b8-43b3-9cc1-64ffdf43fe2f"/> + <where>ESTIMATIONVALUE_OLD = 4</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="4b322f3f-815e-442e-ac63-a983f3efca6b"/> + <where>ESTIMATIONVALUE_OLD = 5</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="3179371b-b647-4141-b575-3c26ce9f9213"/> + <where>ESTIMATIONVALUE_OLD = 6</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="3088256a-f247-40cb-ad4e-33892cbf5ca3"/> + <where>ESTIMATIONVALUE_OLD = 7</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="a2faa45e-bc7a-41f6-8130-7c7a636ddc9f"/> + <where>ESTIMATIONVALUE_OLD = 8</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="d2e97e88-77fd-4fdb-8d5e-30807e2a40e2"/> + <where>ESTIMATIONVALUE_OLD = 9</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="87fd87af-1cb6-40fb-843e-aee612862362"/> + <where>ESTIMATIONVALUE_OLD = 10</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" value="5de71df0-5086-49b8-bd72-a2c0a698e134"/> + <where>ESTIMATIONVALUE_OLD = 11</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="ESTIMATIONVALUE_OLD"/> + + <rollback> + <renameColumn newColumnName="ESTIMATIONVALUE_OLD" oldColumnName="ESTIMATIONVALUE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" type="INTEGER"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="1"/> + <where>ESTIMATIONVALUE_OLD = 'c6c49da4-80dc-4c32-b5b0-c33eac27de7f'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="2"/> + <where>ESTIMATIONVALUE_OLD = '9237ee74-bb91-4333-8114-4485b35cf8d7'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="3"/> + <where>ESTIMATIONVALUE_OLD = 'e3e16d06-1390-4d84-81bd-c495a401cc70'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="4"/> + <where>ESTIMATIONVALUE_OLD = '2ef3ac7d-72b8-43b3-9cc1-64ffdf43fe2f'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="5"/> + <where>ESTIMATIONVALUE_OLD = '4b322f3f-815e-442e-ac63-a983f3efca6b'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="6"/> + <where>ESTIMATIONVALUE_OLD = '3179371b-b647-4141-b575-3c26ce9f9213'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="7"/> + <where>ESTIMATIONVALUE_OLD = '3088256a-f247-40cb-ad4e-33892cbf5ca3'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="8"/> + <where>ESTIMATIONVALUE_OLD = 'a2faa45e-bc7a-41f6-8130-7c7a636ddc9f'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="9"/> + <where>ESTIMATIONVALUE_OLD = 'd2e97e88-77fd-4fdb-8d5e-30807e2a40e2'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="10"/> + <where>ESTIMATIONVALUE_OLD = '87fd87af-1cb6-40fb-843e-aee612862362'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="ESTIMATIONVALUE" valueNumeric="11"/> + <where>ESTIMATIONVALUE_OLD = '5de71df0-5086-49b8-bd72-a2c0a698e134'</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="ESTIMATIONVALUE_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/15506733864429-SalesProjectState.xml b/others/db_changes/data_alias/basic/init/struct/changes/15506733864429-SalesProjectState.xml new file mode 100644 index 0000000000000000000000000000000000000000..2d71ed03849fc35bcd8f0036930b32ee2073540e --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/15506733864429-SalesProjectState.xml @@ -0,0 +1,66 @@ +<?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="a.voegl" id="8de6cb0d-0dc3-4440-9ad9-a3c084b0d470"> + <renameColumn newColumnName="STATE_OLD" oldColumnName="STATE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="STATE" type="CHAR(36)"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="STATE" value="25b0ac77-ef92-4809-802e-bb9d8782f865"/> + <where>STATE_OLD = 1</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" value="23d38486-4cce-41ce-a8df-164ad44df706"/> + <where>STATE_OLD = 2</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" value="8916e241-9452-4541-a323-d479ad5f2e4d"/> + <where>STATE_OLD = 3</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" value="1606cf46-a87b-4797-830e-55ebdd70a001"/> + <where>STATE_OLD = 4</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" value="130bb53a-a97e-455e-8f34-8d445e985474"/> + <where>STATE_OLD = 5</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" value="d8a60f60-a4e6-46ee-88ec-bac53e1afedd"/> + <where>STATE_OLD = 6</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="STATE_OLD"/> + + <rollback> + <renameColumn newColumnName="STATE_OLD" oldColumnName="STATE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="STATE" type="INTEGER"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="1"/> + <where>STATE_OLD = '25b0ac77-ef92-4809-802e-bb9d8782f865'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="2"/> + <where>STATE_OLD = '23d38486-4cce-41ce-a8df-164ad44df706'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="3"/> + <where>STATE_OLD = '8916e241-9452-4541-a323-d479ad5f2e4d'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="4"/> + <where>STATE_OLD = '1606cf46-a87b-4797-830e-55ebdd70a001'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="5"/> + <where>STATE_OLD = '130bb53a-a97e-455e-8f34-8d445e985474'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="STATE" valueNumeric="6"/> + <where>STATE_OLD = 'd8a60f60-a4e6-46ee-88ec-bac53e1afedd'</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="STATE_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550730909599-SalesProjectPhase.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550730909599-SalesProjectPhase.xml new file mode 100644 index 0000000000000000000000000000000000000000..34cf2c7d6d48c86d198b85bda5af28d4d7174491 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550730909599-SalesProjectPhase.xml @@ -0,0 +1,146 @@ +<?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="a.voegl" id="d748d3d3-762f-4b1d-bb2a-9035a7373ae6"> + <renameColumn newColumnName="PHASE_OLD" oldColumnName="PHASE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="PHASE" type="CHAR(36)"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="9f7d1fa9-7c09-4037-8f7c-8458def14d89"/> + <where>PHASE_OLD = 1</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="292628f1-d9a5-432d-8130-f6690c14a5d4"/> + <where>PHASE_OLD = 2</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="4467b33c-3a68-4c8b-ba4a-1eb666a6c774"/> + <where>PHASE_OLD = 3</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="1e42f183-fb97-415f-9917-b43ca159fde4"/> + <where>PHASE_OLD = 4</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="972a41dc-a8ae-43cd-a03b-522ea84efbfb"/> + <where>PHASE_OLD = 5</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="60d09bb1-7e02-4003-99bf-18b739a577ad"/> + <where>PHASE_OLD = 6</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="213c8184-f930-457e-8605-703baaf21d4a"/> + <where>PHASE_OLD = 7</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="4eb20149-3a76-4f5d-b8b7-9b529d8d564d"/> + <where>PHASE_OLD = 8</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="00a104d7-3af4-4250-bad3-1288b9df8152"/> + <where>PHASE_OLD = 9</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="ae5ecf72-3146-4d75-a7ff-7b628868672f"/> + <where>PHASE_OLD = 10</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="2f2afad4-6f1f-47f9-9830-4cbae67f9dc1"/> + <where>PHASE_OLD = 11</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="a6f57de3-02c2-44a8-9821-975b3a807b46"/> + <where>PHASE_OLD = 12</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="a6205bc6-e80f-41fb-9686-2940703eac96"/> + <where>PHASE_OLD = 13</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="8ae1d693-667f-4412-aa1b-eb45c5437aa6"/> + <where>PHASE_OLD = 14</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="874efae4-aae1-467f-896c-09d8ffe1e7af"/> + <where>PHASE_OLD = 15</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" value="11a3e3d1-aad0-4673-982d-e2533b0b4de6"/> + <where>PHASE_OLD = 16</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="PHASE_OLD"/> + + <rollback> + <renameColumn newColumnName="PHASE_OLD" oldColumnName="PHASE" tableName="SALESPROJECT"/> + <addColumn tableName="SALESPROJECT"> + <column name="PHASE" type="INTEGER"/> + </addColumn> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="1"/> + <where>PHASE_OLD = '9f7d1fa9-7c09-4037-8f7c-8458def14d89'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="2"/> + <where>PHASE_OLD = '292628f1-d9a5-432d-8130-f6690c14a5d4'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="3"/> + <where>PHASE_OLD = '4467b33c-3a68-4c8b-ba4a-1eb666a6c774'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="4"/> + <where>PHASE_OLD = '1e42f183-fb97-415f-9917-b43ca159fde4'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="5"/> + <where>PHASE_OLD = '972a41dc-a8ae-43cd-a03b-522ea84efbfb'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="6"/> + <where>PHASE_OLD = '60d09bb1-7e02-4003-99bf-18b739a577ad'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="7"/> + <where>PHASE_OLD = '213c8184-f930-457e-8605-703baaf21d4a'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="8"/> + <where>PHASE_OLD = '4eb20149-3a76-4f5d-b8b7-9b529d8d564d'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="9"/> + <where>PHASE_OLD = '00a104d7-3af4-4250-bad3-1288b9df8152'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="10"/> + <where>PHASE_OLD = 'ae5ecf72-3146-4d75-a7ff-7b628868672f'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="11"/> + <where>PHASE_OLD = '2f2afad4-6f1f-47f9-9830-4cbae67f9dc1'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="12"/> + <where>PHASE_OLD = 'a6f57de3-02c2-44a8-9821-975b3a807b46'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="13"/> + <where>PHASE_OLD = 'a6205bc6-e80f-41fb-9686-2940703eac96'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="14"/> + <where>PHASE_OLD = '8ae1d693-667f-4412-aa1b-eb45c5437aa6'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="15"/> + <where>PHASE_OLD = '874efae4-aae1-467f-896c-09d8ffe1e7af'</where> + </update> + <update tableName="SALESPROJECT"> + <column name="PHASE" valueNumeric="16"/> + <where>PHASE_OLD = '11a3e3d1-aad0-4673-982d-e2533b0b4de6'</where> + </update> + <dropColumn tableName="SALESPROJECT" columnName="PHASE_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file diff --git a/others/db_changes/data_alias/basic/init/struct/changes/1550732429916-TaskPriority.xml b/others/db_changes/data_alias/basic/init/struct/changes/1550732429916-TaskPriority.xml new file mode 100644 index 0000000000000000000000000000000000000000..e6688387a770cc31df4234f78bb40d8ff4d42801 --- /dev/null +++ b/others/db_changes/data_alias/basic/init/struct/changes/1550732429916-TaskPriority.xml @@ -0,0 +1,49 @@ +<?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="a.voegl" id="d748d3d3-762f-4b1d-bb2a-9035a7373ae6"> + <renameColumn newColumnName="PRIORITY_OLD" oldColumnName="PRIORITY" tableName="TASK"/> + <addColumn tableName="TASK"> + <column name="PRIORITY" type="CHAR(36)"/> + </addColumn> + <update tableName="TASK"> + <column name="PRIORITY" value="9f7d1fa9-7c09-4037-8f7c-8458def14d89"/> + <where>PRIORITY_OLD = 0</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" value="292628f1-d9a5-432d-8130-f6690c14a5d4"/> + <where>PRIORITY_OLD = 1</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" value="4467b33c-3a68-4c8b-ba4a-1eb666a6c774"/> + <where>PRIORITY_OLD = 2</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" value="1e42f183-fb97-415f-9917-b43ca159fde4"/> + <where>PRIORITY_OLD = 3</where> + </update> + <dropColumn tableName="TASK" columnName="PRIORITY_OLD"/> + <rollback> + <renameColumn newColumnName="PRIORITY_OLD" oldColumnName="PRIORITY" tableName="TASK"/> + <addColumn tableName="TASK"> + <column name="PRIORITY" type="INTEGER"/> + </addColumn> + <update tableName="TASK"> + <column name="PRIORITY" valueNumeric="0"/> + <where>PRIORITY_OLD = '9f7d1fa9-7c09-4037-8f7c-8458def14d89'</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" valueNumeric="1"/> + <where>PRIORITY_OLD = '292628f1-d9a5-432d-8130-f6690c14a5d4'</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" valueNumeric="2"/> + <where>PRIORITY_OLD = '4467b33c-3a68-4c8b-ba4a-1eb666a6c774'</where> + </update> + <update tableName="TASK"> + <column name="PRIORITY" valueNumeric="3"/> + <where>PRIORITY_OLD = '1e42f183-fb97-415f-9917-b43ca159fde4'</where> + </update> + <dropColumn tableName="TASK" columnName="PRIORITY_OLD"/> + </rollback> + </changeSet> +</databaseChangeLog> \ No newline at end of file