This commit is contained in:
张成
2025-12-18 18:18:43 +08:00
parent 56e40efadb
commit 699c1d4f55
4 changed files with 56 additions and 30 deletions

View File

@@ -52,6 +52,18 @@ module.exports = (db) => {
allowNull: false,
defaultValue: 1
},
is_online: {
comment: '设备在线状态1=在线0=离线)',
type: Sequelize.TINYINT(1),
allowNull: false,
defaultValue: 0
},
is_logged_in: {
comment: '平台登录状态1=已登录0=未登录)',
type: Sequelize.TINYINT(1),
allowNull: false,
defaultValue: 0
},
job_type_id: {
comment: '职位类型ID关联 job_types 表)',
type: Sequelize.INTEGER,