18 lines
425 B
JavaScript
18 lines
425 B
JavaScript
'use strict';
|
|
|
|
module.exports = (app) => {
|
|
const { INTEGER, CHAR } = app.Sequelize;
|
|
|
|
const BuserBind = app.model.define('buser-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 BuserBind;
|
|
}; |