Hi Rich
I think you may have serial already there (indicated by sequence in the thedefault value). If you wish to change to identity columns this should beuseful: https://www.2ndquadrant.com/en/blog/postgresql-10-identity-columns/
Regards
Peter