概要
TypeORMでエラーが表示されてマイグレーションができない
"Entity metadata for Post#category was not found. Chech if you specified a correct entity object and if it's connection in the connection options."
原因
jsconfig.jsonに作成したEntityを追加していなかった
対処
jsconfig.jsonに作成したEntityのファイルパスを記入
※TypeScriptの場合はtsconfig.json
追記内容
"include": [
"./entity.post.js",
"./entity.category.js"
],