I want Sequelize model definition to automatically add a default primary key when I define a model without…
I want Sequelize model definition to automatically add a default primary key when I define a model without…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For example, after const User = sequelize.define('User', { name: DataTypes.STRING }, { timestamps: false })…
The task
For example, after `const User = sequelize.define('User', { name: DataTypes.STRING }, { timestamps: false })`, `User.primaryKeyAttribute` should be `'id'`, `User.modelDefinition.attributes.get('id')` should be an integer attribute with `allowNull: false`, `primaryKey: true`, `autoIncrement: true`, and…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.