QueryFailedError: ER_NO_DEFAULT_FOR_FIELD: Field 'title' doesn't have a default value at new QueryFailedError (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\typeorm\error\QueryFailedError.js:11:28) at Query.<anonymous> (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\typeorm\driver\mysql\MysqlQueryRunner.js:169:45) at Query.<anonymous> (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\Connection.js:525:10) at Query._callback (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\Connection.js:491:16) at Query.Sequence.end (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24) at Query.ErrorPacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\sequences\Query.js:90:8) at Protocol._parsePacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Protocol.js:291:23) at Parser._parsePacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Parser.js:433:10) at Parser.write (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Parser.js:43:10) at Protocol.write (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Protocol.js:38:16)
Either using curl or Postman:
Keep getting this error:
QueryFailedError: ER_NO_DEFAULT_FOR_FIELD: Field 'title' doesn't have a default value at new QueryFailedError (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\typeorm\error\QueryFailedError.js:11:28) at Query.<anonymous> (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\typeorm\driver\mysql\MysqlQueryRunner.js:169:45) at Query.<anonymous> (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\Connection.js:525:10) at Query._callback (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\Connection.js:491:16) at Query.Sequence.end (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24) at Query.ErrorPacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\sequences\Query.js:90:8) at Protocol._parsePacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Protocol.js:291:23) at Parser._parsePacket (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Parser.js:433:10) at Parser.write (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Parser.js:43:10) at Protocol.write (D:\business\prototyping\development\src\node\typescript-express-example\node_modules\mysql\lib\protocol\Protocol.js:38:16)