changeLogs-postDeploy/publication.xml (16 lines of code) (raw):
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.5.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<changeSet author="registry owner" id="alter publication analytical_pub" runAlways="true">
<sql dbms="postgresql" endDelimiter=";" splitStatements="true" stripComments="true">
CALL p_alter_publicaton('analytical_pub');
<comment>Adds target tables to publication</comment>
</sql>
<rollback>
</rollback>
</changeSet>
</databaseChangeLog>