TypeORM Postgres Migration with sequence instead auto-increment

前端 未结 0 1831
南旧
南旧 2020-12-15 05:13

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:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题