Files
account-manager/app/model2/CuserBind.js

18 lines
426 B
JavaScript

'use strict';
module.exports = (app) => {
const { INTEGER, CHAR } = app.Sequelize;
const CuserBind = app.model2.define('cuser-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 CuserBind;
};