you can create a new sequence by adding the pkSequence="sequenceName" in the element tag of the schema & autopk=true Also you need to create sequence in database level CREATE SEQUENCE sequenceName START 101;https://www.postgresql.org/docs/current/sql-createsequence.html