``` CREATE SEQUENCE public.t_id_seq AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ``` https://www.postgresql.org/docs/14/sql-createsequence.html Restoration from pg_dump needs support of the query.