北斗导航定位通信综合实践赛服务系统
This commit is contained in:
18
app/model4/TuserBind.js
Normal file
18
app/model4/TuserBind.js
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = (app) => {
|
||||
const { INTEGER, CHAR } = app.Sequelize;
|
||||
|
||||
const TuserBind = app.model4.define('tuser-bind', {
|
||||
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
|
||||
card_id: CHAR(8),
|
||||
user_uid: CHAR(15),
|
||||
},{
|
||||
freezeTableName: true,
|
||||
timestamp: false,
|
||||
createdAt: false,
|
||||
updatedAt: false,
|
||||
});
|
||||
|
||||
return TuserBind;
|
||||
};
|
||||
Reference in New Issue
Block a user