0
id: {
    type: Sequelize.INTEGER,
    primaryKey: true,
    autoIncrement: true
  },

I have a database in postgres and I am using sequelize as an orm, at the moment the definition of my id field looks like this, obviously when I start adding records, the id starts at 1, 2, 3 and so on, I would like know if it is possible to start at 10000

Alejo López
  • 1
  • 2
  • 1
  • 1
    Take a look at https://stackoverflow.com/questions/5342440/reset-auto-increment-counter-in-postgres – melcher Sep 07 '21 at 20:21

0 Answers0