Alguém poderia me ajuda nesse erro?
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
Error
at Query.run (G:\000000_ALURA\api-petshop\node_modules\sequelize\dist\lib\dialects\mysql\query.js:52:25)
at G:\000000_ALURA\api-petshop\node_modules\sequelize\dist\lib\sequelize.js:313:28
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async MySQLQueryInterface.select (G:\000000_ALURA\api-petshop\node_modules\sequelize\dist\lib\dialects\abstract\query-interface.js:396:12)
at async Function.findAll (G:\000000_ALURA\api-petshop\node_modules\sequelize\dist\lib\model.js:1119:21)
at async G:\000000_ALURA\api-petshop\api\rotas\fornecedores\produtos\index.js:5:22 {
name: 'SequelizeDatabaseError',
parent: Error: Unknown column 'fornecedor' in 'field list'
at Packet.asError (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\packets\packet.js:728:17)
at Query.execute (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\commands\command.js:29:26)
at Connection.handlePacket (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:456:32)
at PacketParser.onPacket (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:85:12)
at PacketParser.executeStart (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\packet_parser.js:75:16)
at Socket.<anonymous> (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:92:25)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10) {
code: 'ER_BAD_FIELD_ERROR',
errno: 1054,
sqlState: '42S22',
sqlMessage: "Unknown column 'fornecedor' in 'field list'",
sql: "SELECT `id`, `titulo`, `preco`, `estoque`, `fornecedor`, `dataCriacao`, `dataAtualizacao`, `versao` FROM `produtos` AS `produto` WHERE `produto`.`fornecedor` = '5';",
parameters: undefined
},
original: Error: Unknown column 'fornecedor' in 'field list'
at Packet.asError (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\packets\packet.js:728:17)
at Query.execute (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\commands\command.js:29:26)
at Connection.handlePacket (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:456:32)
at PacketParser.onPacket (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:85:12)
at PacketParser.executeStart (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\packet_parser.js:75:16)
at Socket.<anonymous> (G:\000000_ALURA\api-petshop\node_modules\mysql2\lib\connection.js:92:25)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10) {
code: 'ER_BAD_FIELD_ERROR',
errno: 1054,
sqlState: '42S22',
sqlMessage: "Unknown column 'fornecedor' in 'field list'",
sql: "SELECT `id`, `titulo`, `preco`, `estoque`, `fornecedor`, `dataCriacao`, `dataAtualizacao`, `versao` FROM `produtos` AS `produto` WHERE `produto`.`fornecedor` = '5';",
parameters: undefined
},
sql: "SELECT `id`, `titulo`, `preco`, `estoque`, `fornecedor`, `dataCriacao`, `dataAtualizacao`, `versao` FROM `produtos` AS `produto` WHERE `produto`.`fornecedor` = '5';",
parameters: {}
}