how to add sequence in postgresql code example Example: create sequence if not exists postgres CREATE SEQUENCE IF NOT EXISTS tbl_field_seq;