GenerationType for Postgres auto-increment column is always BY DEFAULT

Description

When using Liquibase to create a table with an auto-incrementing integer, the corresponding identity column in PostgreSQL is always created with the constraint BY DEFAULT, irrespective of the value set for the generationType. For example, given a changeLog such as:


 

the reverse engineered SQL for the `person` table is :

 

 

The ALWAYS generation type has been ignored by Liquibase.

Environment

PostgreSQL 12.0

Status

Reporter

suilven

Components

Affects versions

Priority

Minor
Configure