true, readonly underscoredAttributes: true, readonly userModel: "User", readonly userIdAttribute: "user_id", readonly enableRevisionChangeModel: true, }); const [Revision] = sequelizeRevision.defineModels(); const revision = (await Revision.findOne()) || new Revision(); revision.document_id = 1; revision.user_id = 2; revision.invalid_attribute = 3; const sequelizeRevision = new SequelizeRevision(sequelize, { underscored: true, underscoredAttributes: true, userModel: "User", userIdAttribute: "user_id", enableRevisionChangeModel: true, } as const); const [Revision] = sequelizeRevision.defineModels(); const revision = (await Revision.findOne()) || new Revision(); revision.document_id = 1; revision.user_id = 2; revision.invalid_attribute = 3;