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.
hutao/reference/graphResource2/gen-Model/models/lauchuserloginrecord.js

38 lines
764 B

8 months ago
const Sequelize = require('sequelize');
module.exports = function(sequelize, DataTypes) {
return sequelize.define('lauchuserloginrecord', {
loginRecordId: {
autoIncrement: true,
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
uuid: {
type: DataTypes.UUID,
allowNull: false
},
recoredJson: {
type: DataTypes.TEXT,
allowNull: false
},
createTime: {
type: DataTypes.DATE,
allowNull: false
}
}, {
sequelize,
tableName: 'lauchuserloginrecord',
timestamps: false,
indexes: [
{
name: "PRIMARY",
unique: true,
using: "BTREE",
fields: [
{ name: "loginRecordId" },
]
},
]
});
};