<?xml version="1.0" 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-2.0.xsd"
                   logicalFilePath="db-changelog-000162-rename-responsetimedata-user.xml">

  <changeSet author="appian" id="tag-000161">
    <tagDatabase tag="000161"/>
  </changeSet>

  <changeSet author="appian" id="000162.1.0">
    <comment>Drop user column in response_time_data table</comment>
    <dropColumn tableName="response_time_data" columnName="user"/>
  </changeSet>
  <changeSet author="appian" id="000162.1.1">
    <comment>Add username column in response_time_data table</comment>
    <addColumn tableName="response_time_data">
      <column name="username" type="${shortStringType}" defaultValue="">
        <constraints nullable="false"/>
      </column>
    </addColumn>
  </changeSet>

</databaseChangeLog>
