I create my own schema instead of letting hibernate generate it and when we migrated to PostgreSQL 11.1, all `BEGSERIAL` and `SERIAL` primary key columns were manually changed to `GENERATED BY DEFAULT AS IDENTITY` ones.