Skip to content
Snippets Groups Projects
Commit 2e8106d1 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1063549][Commrestriction Liquibase Spaltentyp]

parent fe27b044
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">
<changeSet dbms="derby" author="b.ulrich" id="c56df7ca-aa5c-426b-bdb7-16f8ad16d17c">
<sql>
ALTER TABLE COMMRESTRICTION ADD COLUMN EMPLOYEE_INVOLVED_NEW CHAR(36);
UPDATE COMMRESTRICTION SET EMPLOYEE_INVOLVED_NEW=EMPLOYEE_INVOLVED;
ALTER TABLE COMMRESTRICTION DROP COLUMN EMPLOYEE_INVOLVED;
RENAME COLUMN COMMRESTRICTION.EMPLOYEE_INVOLVED_NEW TO EMPLOYEE_INVOLVED;
</sql>
</changeSet>
<changeSet dbms="!derby" author="b.ulrich" id="17c1eb73-3131-4a2b-bf9a-913590767c79">
<modifyDataType tableName="COMMRESTRICTION" columnName="EMPLOYEE_INVOLVED" newDataType="CHAR(36)"/>
</changeSet>
</databaseChangeLog>
......@@ -12,4 +12,5 @@
<include relativeToChangelogFile="true" file="ReportDispatchImpl/add_DocumentTemplatePlaceOfUse.xml"/>
<include relativeToChangelogFile="true" file="alter_VisitrecommendationpriorityDatatype.xml"/>
<include relativeToChangelogFile="true" file="alter_KeywordTitlesForTranslation.xml"/>
<include relativeToChangelogFile="true" file="alter_CommrestrictionsEmployeeInvolved.xml"/>
</databaseChangeLog>
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