module.exports = (sequelize, DataTypes) => { const Intent = sequelize.define("intents", { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, allowNull: false }, name: { type: DataTypes.STRING, allowNull: false }, examples: { type: DataTypes.ARRAY(DataTypes.STRING), allowNull: true } }, { tableName: "intents", timestamps: false }); return Intent; };