'use strict'; module.exports = (app) => { const { INTEGER, CHAR, DATE } = app.Sequelize; const BindBrecord = app.model.define('bind-brecord', { id: { type: INTEGER(11), primaryKey: true, autoIncrement: true }, user_uid: CHAR(15), card_id: CHAR(8), type: INTEGER(1), created_at: DATE, },{ freezeTableName: true, timestamp: true, createdAt: true, updatedAt: false, }); return BindBrecord; };