'use strict'; module.exports = (app) => { const { INTEGER, CHAR, STRING } = app.Sequelize; const ChoiceTopic = app.model4.define('choice-topic', { id: { type: INTEGER(5), primaryKey: true, autoIncrement: true }, topic: STRING(300), options_a: STRING(300), options_b: STRING(300), options_c: STRING(300), options_d: STRING(300), answer: CHAR(1), },{ freezeTableName: true, timestamp: false, createdAt: false, updatedAt: false, }); return ChoiceTopic; };