Unique constraint name is ignored when using the addColumn change

Description

When adding a column with a unique constraint using the addColumn change, the name of the unique constraint is ignored. A unique constraint is created but with a system-generated name.

As an example (using Liquibase 3.3.0 with Oracle 18c)


generates the following SQL statements:


but it should generate:

A workaround is to add the column with addColumn and then add the unique constraint using the addUniqueConstraint change.

Environment

Liquibase 3.3.0, Oracle 18c

Reporter

Clayton Bodendein

Components

Affects versions

Priority

Major
Configure