I have several sequences for tables (dynamic information and crosswalks) that get out of sync from the table primary keys during testing. While I can fix them, what can I do to prevent the sequences from getting out of sync with the keys in the first place?
generated always as identity
instead ofgenerated always by default
orserial