<?xml version="1.0" encoding="utf-8"?>

<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-2.0.xsd" >

    <changeSet author="agalue" id="14.0.4-changeDataTypeOfOperInstructToText">
        <modifyDataType tableName="alarms" columnName="operinstruct" newDataType="text"/>
        <modifyDataType tableName="events" columnName="eventoperinstruct" newDataType="text"/>

        <rollback>
            <modifyDataType tableName="alarms" columnName="operinstruct" newDataType="varchar(1024)"/>
            <modifyDataType tableName="events" columnName="eventoperinstruct" newDataType="varchar(1024)"/>
        </rollback>
    </changeSet>

</databaseChangeLog>
