create sequence if not exists postgres
snippet in sql

create sequence if not exists postgres

user6277

CREATE SEQUENCE IF NOT EXISTS tbl_field_seq;