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

    <changeSet author="murygina" id="add_hours_to_application_table">

        <preConditions>
            <tableExists tableName="Application"/>
        </preConditions>

        <addColumn tableName="Application">
            <column name="hours" type="DECIMAL(19, 2)">
                <constraints nullable="true"/>
            </column>
        </addColumn>

    </changeSet>

</databaseChangeLog>

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

    <changeSet author="murygina" id="add_hours_to_application_table">

        <preConditions>
            <tableExists tableName="Application"/>
        </preConditions>

        <addColumn tableName="Application">
            <column name="hours" type="DECIMAL(19, 2)">
                <constraints nullable="true"/>
            </column>
        </addColumn>

        <sql>
            UPDATE Application application SET application.hours = 0
            WHERE application.vacationType = 'OVERTIME';
        </sql>

    </changeSet>

</databaseChangeLog>

Update hours for existing overtime applications for leave
Update hours for existing overtime applications for leave

* refs #110
