You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: [Postgres/sequelize] Error on updating a record when using identity "id" #1783
As you can see the update include the "id" column even if the value is not changed.
Furthermore as you can see as follow the "id" column is declared as auto-increment and should not be included inside the update code.
id: {
field: "id",
type: DataTypes.BIGINT,
autoIncrement: true,
// autoIncrementIdentity: true, ALSO NOT WORK
primaryKey: true,
},
Activity