# Liquibase for two pg schemas

**URL:** <https://forum.liquibase.org/t/liquibase-for-two-pg-schemas/3648>\
**Category:** General Discussion\
**Created:** [July 12, 2018, 4:28pm UTC](https://forum.liquibase.org/t/liquibase-for-two-pg-schemas/3648 "2018-07-12T16:28:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAREKMANCO](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@MAREKMANCO](https://forum.liquibase.org/u/MAREKMANCO)\
**Post date:** [July 12, 2018, 4:28pm UTC](https://forum.liquibase.org/t/liquibase-for-two-pg-schemas/3648/1 "2018-07-12T16:28:00Z")

</div>

Hi there!

This would be probably my last stop before abandoning LB and doing changesets manually.  
The goal I have is quite through: I need to evolve the postgresql database with two schemas (public/audit).  
Here I’m going to outline my configuration and steps.  
  
The only way I was able to figure out how to separate operations per schema was using the maven profiles.  
pom.xml:

  

[INFO] Performing Diff on database vedic @ jdbc:postgresql://212.89.239.181:5432/vedica\_dev **(Default Schema: audit)**
Please point out what am I doing wrong or whether my expectations are over the top or if this possibly can be a bug.  
I believe there is a way of achieving this cause Liquibase is pretty widely adopted.  
  
Thanks for your responses!
