An error occurred while trying to decorate the target with decorator:
^
ColumnTypeUndefinedError: The column type for Author#name is not defined and cannot be guessed. To fix this issue, make sure to enable "emitDecoratorMetadata" option in tsconfig.json. Additionally, ensure that you have imported "reflect-metadata" at the beginning of your main application file (before any entity imports). If you are using JavaScript instead of TypeScript, you must explicitly specify a column type.