Sequence error on creating patient in PostgreSQL

I will give it a shot and see what happens. It might be some issue with PostgreSQL dialect that it is not getting created by default.