<?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 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
    <changeSet id="work_order_set_null" author="Ibrahima">
        <dropForeignKeyConstraint baseTableName="t_meter_user_associations" constraintName="fk8ikpoqiwcc3i40wdfjl2dynv7"/>
        <addForeignKeyConstraint baseColumnNames="id_meter" baseTableName="t_meter_user_associations"
                                 constraintName="fk8ikpoqiwcc3i40wdfjl2dynv7" deferrable="false"
                                 initiallyDeferred="false" onDelete="CASCADE" onUpdate="NO ACTION"
                                 referencedColumnNames="id" referencedTableName="meter" validate="true"/>
    </changeSet>
</databaseChangeLog>