sequelize
无知散人
无拼 无狂 无以越龙门
展开
-
A column called ‘id‘ was added to the attributes of ‘users‘ but not marked with ‘primaryKey: true‘
router.post('/login', jsonParser, function (req, res, next) { try { const User = sequelize.define('User', { id:DataTypes.INTEGER, name: DataTypes.STRING, code: DataTypes.STRING, create_date: DataTypes.DATE, update_date:原创 2021-01-05 15:48:09 · 1984 阅读 · 0 评论 -
This database engine version is not supported, please update your database server.
nodejs使用sequelize连接数据库,初始化时报错信息 This database engine version is not supported,please update your database server. DeprecationWarning: This database engine version is not supported, please update your database server. More information https://github.com/原创 2020-12-22 14:59:23 · 4331 阅读 · 2 评论