I have a column "code" that is not PK and will start from 1000 and increase by 10. I made a sequence "code_seq" at database like this: