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

    <changeSet id="01-update-association-names-package-spec" author="dmiller" runOnChange="true" dbms="oracle">
        <createProcedure>
            CREATE OR REPLACE PACKAGE pkg_update_association_names
            AS
            PROCEDURE update_association_names(
            p_object_id IN acm_object_association.cm_parent_id%TYPE,
            p_object_type IN acm_object_association.cm_parent_type%TYPE,
            p_object_name IN acm_object_association.cm_parent_name%TYPE);

            PROCEDURE remove_associations(
            p_object_id IN acm_object_association.cm_parent_id%TYPE,
            p_object_type IN acm_object_association.cm_parent_type%TYPE);

            END pkg_update_association_names;
        </createProcedure>
        <rollback>
            DROP PACKAGE pkg_update_association_names;
        </rollback>
    </changeSet>

</databaseChangeLog>