Skip to content
Snippets Groups Projects
Commit e024ff2a authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix attribute idvalue datatype to support nonstandard uid's

parent 99fd62e2
No related branches found
No related tags found
No related merge requests found
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<!-- Change id_value colum type from char(36) to varchar(63) to support non-standard uid's (for e.g. Employee entity) -->
<changeSet dbms="derby" author="j.hoermann" id="fb0e40dc-dced-47a5-88a2-f9b2cbb3598d">
<sql>
ALTER TABLE AB_ATTRIBUTERELATION ADD COLUMN ID_VALUE_NEW VARCHAR(63);
UPDATE AB_ATTRIBUTERELATION SET ID_VALUE_NEW=ID_VALUE where ID_VALUE is not null;
ALTER TABLE AB_ATTRIBUTERELATION DROP COLUMN ID_VALUE;
RENAME COLUMN AB_ATTRIBUTERELATION.ID_VALUE_NEW TO ID_VALUE;
</sql>
</changeSet>
<changeSet author="j.hoermann" id="12590e32-4d53-4b59-813d-1ebec82c07f0">
<preConditions onFail="CONTINUE">
<not>
<dbms type="derby" />
</not>
</preConditions>
<modifyDataType tableName="AB_ATTRIBUTERELATION" columnName="KIND" newDataType="NVARCHAR(63)"/>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -11,4 +11,8 @@
<include relativeToChangelogFile="true" file="alter_BulkMailRecipient_problem.xml"/>
<include relativeToChangelogFile="true" file="insert_BulkMailProblem_keyword.xml"/>
<!-- Change id_value colum type from char(36) to varchar(63) to support non-standard uid's (for e.g. Employee entity) -->
<include relativeToChangelogFile="true" file="alter_attr_relation_idvalue.xml"/>
<include relativeToChangelogFile="true" file="update_assistance_attributes.xml"/>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.hoermann" id="14cb7c3c-9355-4376-b40c-d7a2963569b6">
<update tableName="AB_ATTRIBUTE">
<column name="ATTRIBUTE_TYPE" value="OBJECTSELECTION " />
<column name="DROPDOWNDEFINITION" value="Employee_entity" />
<where>AB_ATTRIBUTEID in (?, ?, ?, ?)</where>
<whereParams>
<param value="3e5736c4-93ff-4471-96f5-48bb34ab53d2" />
<param value="3f119858-9d69-4903-a572-d286be151f73" />
<param value="d637fc6c-9452-4498-8379-ec71d946cbab" />
<param value="ff84c147-27c7-4698-83ff-0e25b1d33851" />
</whereParams>
</update>
<update tableName="AB_ATTRIBUTE">
<column name="ATTRIBUTE_NAME" value="Vacation approval by" />
<where>AB_ATTRIBUTEID = ?</where>
<whereParams>
<param value="3e5736c4-93ff-4471-96f5-48bb34ab53d2" />
</whereParams>
</update>
<update tableName="AB_ATTRIBUTE">
<column name="ATTRIBUTE_NAME" value="Vacation examination by" />
<where>AB_ATTRIBUTEID = ?</where>
<whereParams>
<param value="3f119858-9d69-4903-a572-d286be151f73" />
</whereParams>
</update>
</changeSet>
</databaseChangeLog>
......@@ -5883,8 +5883,8 @@
<name>ID_VALUE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<columnType v="12" />
<size v="63" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
......
......@@ -3690,9 +3690,6 @@
<entry>
<key>No risk</key>
</entry>
<entry>
<key>Urlaubsprüfung durch</key>
</entry>
<entry>
<key>Acquisition</key>
</entry>
......@@ -4119,9 +4116,6 @@
<entry>
<key>Next steps</key>
</entry>
<entry>
<key>Urlaubsgenehmigung durch</key>
</entry>
<entry>
<key>Assessment</key>
</entry>
......@@ -5088,6 +5082,36 @@
<entry>
<key>Open tasks</key>
</entry>
<entry>
<key>Appointment checkup</key>
</entry>
<entry>
<key>Appointment CheckUp</key>
</entry>
<entry>
<key>Permissions without actions are invalid!</key>
</entry>
<entry>
<key>This error should never appear - contact administrator (PermissionDetail_entity.PermissionAction.onValidation).</key>
</entry>
<entry>
<key>Email blocked</key>
</entry>
<entry>
<key>Email address does not exist</key>
</entry>
<entry>
<key>Empty actions are invalid!</key>
</entry>
<entry>
<key>Problem</key>
</entry>
<entry>
<key>Vacation examination by</key>
</entry>
<entry>
<key>Vacation approval by</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......
......@@ -5659,14 +5659,6 @@
<key>Reports to</key>
<value>berichtet an</value>
</entry>
<entry>
<key>Urlaubsgenehmigung durch</key>
<value>Urlaubsgenehmigung durch</value>
</entry>
<entry>
<key>Urlaubsprüfung durch</key>
<value>Urlaubsprüfung durch</value>
</entry>
<entry>
<key>UID</key>
</entry>
......@@ -6430,6 +6422,38 @@
<entry>
<key>Permissions without actions are not allowed!</key>
</entry>
<entry>
<key>Appointment checkup</key>
</entry>
<entry>
<key>Appointment CheckUp</key>
</entry>
<entry>
<key>Permissions without actions are invalid!</key>
</entry>
<entry>
<key>This error should never appear - contact administrator (PermissionDetail_entity.PermissionAction.onValidation).</key>
</entry>
<entry>
<key>Email blocked</key>
</entry>
<entry>
<key>Email address does not exist</key>
</entry>
<entry>
<key>Empty actions are invalid!</key>
</entry>
<entry>
<key>Problem</key>
</entry>
<entry>
<key>Vacation examination by</key>
<value>Urlaubsprüfung durch</value>
</entry>
<entry>
<key>Vacation approval by</key>
<value>Urlaubsgenehmigung durch</value>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
......@@ -3740,9 +3740,6 @@
<entry>
<key>No risk</key>
</entry>
<entry>
<key>Urlaubsprüfung durch</key>
</entry>
<entry>
<key>Acquisition</key>
</entry>
......@@ -4169,9 +4166,6 @@
<entry>
<key>Next steps</key>
</entry>
<entry>
<key>Urlaubsgenehmigung durch</key>
</entry>
<entry>
<key>Assessment</key>
</entry>
......@@ -5138,6 +5132,36 @@
<entry>
<key>Open tasks</key>
</entry>
<entry>
<key>Appointment checkup</key>
</entry>
<entry>
<key>Appointment CheckUp</key>
</entry>
<entry>
<key>Permissions without actions are invalid!</key>
</entry>
<entry>
<key>This error should never appear - contact administrator (PermissionDetail_entity.PermissionAction.onValidation).</key>
</entry>
<entry>
<key>Email blocked</key>
</entry>
<entry>
<key>Email address does not exist</key>
</entry>
<entry>
<key>Empty actions are invalid!</key>
</entry>
<entry>
<key>Problem</key>
</entry>
<entry>
<key>Vacation examination by</key>
</entry>
<entry>
<key>Vacation approval by</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment