Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
5.3 kB
3
Indexable
Never
0|server   | { QueryFailedError: ER_NO_DEFAULT_FOR_FIELD: Field 'id_user' doesn't have a default value
0|server   |     at new QueryFailedError (/home/homegroup/homegroupbackend/node_modules/typeorm/error/QueryFailedError.js:12:28)
0|server   |     at Query.<anonymous> (/home/homegroup/homegroupbackend/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:217:45)
0|server   |     at Query.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:526:10)
0|server   |     at Query._callback (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:488:16)
0|server   |     at Query.Sequence.end (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
0|server   |     at Query.ErrorPacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/sequences/Query.js:92:8)
0|server   |     at Protocol._parsePacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Protocol.js:291:23)
0|server   |     at Parser._parsePacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Parser.js:433:10)
0|server   |     at Parser.write (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Parser.js:43:10)
0|server   |     at Protocol.write (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Protocol.js:38:16)
0|server   |     at Socket.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:88:28)
0|server   |     at Socket.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:526:10)
0|server   |     at Socket.emit (events.js:198:13)
0|server   |     at addChunk (_stream_readable.js:288:12)
0|server   |     at readableAddChunk (_stream_readable.js:269:11)
0|server   |     at Socket.Readable.push (_stream_readable.js:224:10)
0|server   |   message:
0|server   |    'ER_NO_DEFAULT_FOR_FIELD: Field \'id_user\' doesn\'t have a default value',
0|server   |   code: 'ER_NO_DEFAULT_FOR_FIELD',
0|server   |   errno: 1364,
0|server   |   sqlMessage: 'Field \'id_user\' doesn\'t have a default value',
0|server   |   sqlState: 'HY000',
0|server   |   index: 0,
0|server   |   sql:
0|server   |    'INSERT INTO `sessions_users`(`id`, `id_session`, `id_user`, `creado_en`) VALUES (DEFAULT, \'10\', DEFAULT, DEFAULT)',
0|server   |   name: 'QueryFailedError',
0|server   |   query:
0|server   |    'INSERT INTO `sessions_users`(`id`, `id_session`, `id_user`, `creado_en`) VALUES (DEFAULT, ?, DEFAULT, DEFAULT)',
0|server   |   parameters: [ '10' ] }
0|server   | { QueryFailedError: ER_NO_DEFAULT_FOR_FIELD: Field 'id_user' doesn't have a default value
0|server   |     at new QueryFailedError (/home/homegroup/homegroupbackend/node_modules/typeorm/error/QueryFailedError.js:12:28)
0|server   |     at Query.<anonymous> (/home/homegroup/homegroupbackend/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:217:45)
0|server   |     at Query.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:526:10)
0|server   |     at Query._callback (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:488:16)
0|server   |     at Query.Sequence.end (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
0|server   |     at Query.ErrorPacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/sequences/Query.js:92:8)
0|server   |     at Protocol._parsePacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Protocol.js:291:23)
0|server   |     at Parser._parsePacket (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Parser.js:433:10)
0|server   |     at Parser.write (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Parser.js:43:10)
0|server   |     at Protocol.write (/home/homegroup/homegroupbackend/node_modules/mysql/lib/protocol/Protocol.js:38:16)
0|server   |     at Socket.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:88:28)
0|server   |     at Socket.<anonymous> (/home/homegroup/homegroupbackend/node_modules/mysql/lib/Connection.js:526:10)
0|server   |     at Socket.emit (events.js:198:13)
0|server   |     at addChunk (_stream_readable.js:288:12)
0|server   |     at readableAddChunk (_stream_readable.js:269:11)
0|server   |     at Socket.Readable.push (_stream_readable.js:224:10)
0|server   |   message:
0|server   |    'ER_NO_DEFAULT_FOR_FIELD: Field \'id_user\' doesn\'t have a default value',
0|server   |   code: 'ER_NO_DEFAULT_FOR_FIELD',
0|server   |   errno: 1364,
0|server   |   sqlMessage: 'Field \'id_user\' doesn\'t have a default value',
0|server   |   sqlState: 'HY000',
0|server   |   index: 0,
0|server   |   sql:
0|server   |    'INSERT INTO `sessions_users`(`id`, `id_session`, `id_user`, `creado_en`) VALUES (DEFAULT, \'11\', DEFAULT, DEFAULT)',
0|server   |   name: 'QueryFailedError',
0|server   |   query:
0|server   |    'INSERT INTO `sessions_users`(`id`, `id_session`, `id_user`, `creado_en`) VALUES (DEFAULT, ?, DEFAULT, DEFAULT)',
0|server   |   parameters: [ '11' ] }
0|server   | La conexion a MySQL se ha realizado correctamente.
0|server   | La conexion a MongoDB se ha realizado correctamente
0|server   | listening app on port 3800
0|server   | ---------------------