Files
account-manager/app/model/BuserBind.js

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 },
user_uid: CHAR(15),
card_id: CHAR(8),
},{
freezeTableName: true,
timestamp: false,
createdAt: false,
updatedAt: false,
});
return BuserBind;
};