You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
370 B
19 lines
370 B
const sequelize = require("../dbConnect")
|
|
const {
|
|
DataTypes
|
|
} = require("sequelize")
|
|
|
|
module.exports = sequelize.define("user", {
|
|
loginId: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false
|
|
},
|
|
loginPwd: {
|
|
type: DataTypes.STRING,
|
|
allowNull: false
|
|
}
|
|
}, {
|
|
freezeTableName: true,
|
|
createdAt: false,
|
|
updatedAt: false,
|
|
}) |