Sequelize.js Incorrect table definition; there can be only one auto column and it must bedefined as a key 오류해결
Sequelize.js로 모델을 정의하고 생성해주려 하는데 다음과 같은 오류가 발생했다. Unhandled rejection SequelizeDatabaseError: Incorrect table definition; there can be only one auto column and it must bedefined as a key 먼저 내가 시도했던건 아래와 같다. export const User = sequelize.define('user', { no: { type: Sequelize.INTEGER, autoIncrement: true }, userid: { type: Sequelize.STRING, allowNull: false, primaryKey: true, }, userpw: { type: S..