<?xml version="1.1" 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 https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.26.xsd" >
    <changeSet author="Sheldan" id="infraction_parameter-tracking-trigger">
        <sql>
            DROP TRIGGER IF EXISTS infraction_parameter_update_trigger ON infraction_parameter;
            CREATE TRIGGER infraction_parameter_update_trigger BEFORE UPDATE ON infraction_parameter FOR EACH ROW EXECUTE PROCEDURE update_trigger_procedure();
        </sql>
        <sql>
            DROP TRIGGER IF EXISTS infraction_parameter_insert_trigger ON infraction_parameter;
            CREATE TRIGGER infraction_parameter_insert_trigger BEFORE INSERT ON infraction_parameter FOR EACH ROW EXECUTE PROCEDURE insert_trigger_procedure();
        </sql>
    </changeSet>
</databaseChangeLog>