<?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-000208-health-check-auto-cancel.xml">

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

  <changeSet author="appian" id="000208.1.0">
    <comment>Create new column for prevented health check run</comment>
    <addColumn tableName="healthcheck">
      <column name="prevented_health_check_run" type="${booleanType}">
        <constraints nullable="true"/>
      </column>
    </addColumn>
  </changeSet>

  <changeSet author="appian" id="000208.2.0">
    <comment>Create new column for data review start time</comment>
    <addColumn tableName="healthcheck">
      <column name="data_review_start_time" type="${longType}">
        <constraints nullable="true"/>
      </column>
    </addColumn>
  </changeSet>

</databaseChangeLog>
