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

18 lines
443 B
JavaScript
Raw Normal View History

'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING } = app.Sequelize;
const CuserSNBind = app.model2.define('cuser-snbind', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
sn_number: STRING(8),
},{
freezeTableName: true,
timestamp: true,
createdAt: false,
updatedAt: false,
});
return CuserSNBind;
};