<?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">

  <!-- Fix for issue NMS-9550 -->
  <changeSet author="agalue" id="foundation2015-changeDataTypeOfReasonToText">
    <modifyDataType tableName="location_specific_status_changes" columnName="statusreason" newDataType="text"/>

    <rollback>
      <modifyDataType tableName="location_specific_status_changes" columnName="statusreason" newDataType="varchar(255)"/>
    </rollback>
  </changeSet>

</databaseChangeLog>
