Ошибка на NodeJs после успешного выполнения запроса вставки.
Смущает то, что данные, успешно вставленные в таблицу, не получают ошибку внутри функции обратного вызова db.query(insertMsgQuery, (err, rows, fields) => { console.log('query error === ', err) });
, но из-за ошибки, показанной под моим приложением Node, произошел сбой [nodemon] app crashed - waiting for file changes before starting...
Запрос вставки
INSERT INTO `chat_thread_messages` (`thread_id`,`msg_text`,`from`,`to`,`product_id`,`msg_type`) VALUES (9,'Bonjour, Cet article est-il toujours disponible?',6,7,4,'text')
Ошибка
node_modules/mysql/lib/protocol/Parser.js:437
throw err; // Rethrow non-MySQL errors
^
Error: ER_TRUNCATED_WRONG_VALUE: Truncated incorrect DOUBLE value: 'null'
Схема ![enter image description here](https://i.stack.imgur.com/rDpyd.png)