title: Liquibase / Spring Boot / Postgres - Schema name not working
body: <p>I am using Spring Boot 2.0.2, Liquibase 3.5.5 and PostgreSQL 10.  I am able to successfully create a diff between the database and my JPA entities.  However, when I apply these changes to the database, it's applying the changes against the default "public" schema in PostgreSQL.  However, I want it to apply changes to a different schema, "dbo".</p>
  
  <p>I tried multiple approaches to make it work without success.  I don't really want to edit each changeset and add a schema name manually.</p>
  
  <p>Here is what I tried:</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
                  &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.5.5&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;changeLogFile&gt;src/main/resources/db/changelog/db.changelog-master.yaml&lt;/changeLogFile&gt;
                      &lt;diffChangeLogFile&gt;src/main/resources/db/changelog/${maven.build.timestamp}_changelog.xml&lt;/diffChangeLogFile&gt;
                      &lt;propertyFile&gt;src/main/resources/liquibase.properties&lt;/propertyFile&gt;
                      &lt;defaultSchemaName&gt;dbo&lt;/defaultSchemaName&gt;
                      &lt;driver&gt;org.postgresql.Driver&lt;/driver&gt;
                      &lt;url&gt;jdbc:postgresql://localhost:5432/FCV2Db?currentSchema=dbo&lt;/url&gt;
                      &lt;username&gt;postgres&lt;/username&gt;
                      &lt;password&gt;fastcode&lt;/password&gt;
                      &lt;referenceUrl&gt;hibernate:spring:com.nfinity.fastcode.domain?dialect=org.hibernate.dialect.PostgreSQL9Dialect&lt;/referenceUrl&gt;
                      &lt;verbose&gt;true&lt;/verbose&gt;
                      &lt;logging&gt;debug&lt;/logging&gt;
                      &lt;dropFirst&gt;false&lt;/dropFirst&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.liquibase.ext&lt;/groupId&gt;
                          &lt;artifactId&gt;liquibase-hibernate5&lt;/artifactId&gt;
                          &lt;version&gt;3.6&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.javassist&lt;/groupId&gt;
                          &lt;artifactId&gt;javassist&lt;/artifactId&gt;
                          &lt;version&gt;3.23.1-GA&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
                          &lt;version&gt;2.0.2.RELEASE&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                          &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
                          &lt;version&gt;2.0.1.Final&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Yes, I tried to put the schema name as both a configuration property and on the JDBC Url connection as using either alone did not work.  Using both did not work either.</p>
  
  <p>Anyone been successful in solving this problem?</p>