Tried to run this because I want the auto generated IDs to start at 0
alter table gender
alter column gender_id ADD GENERATED ALWAYS AS IDENTITY (START WITH 0 INCREMENT BY 1)
and got error:
START value (0) cannot be less than MINVALUE (1)
I'm not good at PostgreSQL yet so not sure how to get it to increment starting at 0.