Setting defaultSchemaName and changelogSchemaName to the same value causes changelog tables to be created in default schema

Description

When defaultSchemaName and changelogSchemaName are set to the same value, the databasechangelog and *lock tables are created without specifying the schema:

The default schema (in postgres, at least) is "public", so it's obviously the wrong choice.
I'm using the maven plugin and tried configuring these parameters in:

  • properties file (mentioned in pom.xml)

  • plugin config (pom.xml)

  • command-line parameters (-D)

  • properties in profile in pom.xml

This is quite annoying and makes it impossible for me to upgrade to anything above 3.5.5. I would appreciate it if it was fixed. I tried looking into the sources but couldn't find any obvious place where the schema is nulled out...

Environment

Any

Status

Assignee

Unassigned

Reporter

Jakub Kozłowski

Labels

None

Affects versions

Priority

Major
Configure