user.js 378 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 module.exports = (sequelize, DataTypes) => { return sequelize.define("user", { id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true }, userId: { type: DataTypes.STRING, allowNull: false } }, { charset: "utf8", collate: "utf8_general_ci" }) }