i am using webpack5 to package the project, when the project runs the error was the primaryKey type is not the same as ForeignKey type, and i checked the final js file. the primaryKey type was the same as the foreignkey type. if i do not useing webpack project runs everything ok
there was system report
Referencing column 'items_uuid' and referenced column 'id' in foreign key constraint 'items_wallet_relationship_ibfk_279' are incompatible."
<!-- If you are able to illustrate the bug or feature request with an example, please provide a sample application via one of the following means:
- A sample application via GitHub (Best option, since its much easier for us to investigate, so that we can come back to you more recently)
- A code snippet below (Please make sure, that the snippet at least includes tsconfig and the sequelize options)
-->
Issue
i am using webpack5 to package the project, when the project runs the error was the primaryKey type is not the same as ForeignKey type, and i checked the final js file. the primaryKey type was the same as the foreignkey type. if i do not useing webpack project runs everything ok there was system report
Versions
Issue type
Actual behavior
basic table association relationship
Expected behavior
project runs ok
Steps to reproduce
table two
Related code
{ "compilerOptions": { "module": "commonjs", "esModuleInterop": true, "target": "ES2017", "noImplicitAny": true, "moduleResolution": "node", "sourceMap": true, "outDir": "dist", "baseUrl": ".", "paths": { "": [ "node_modules/", "src/types/*" ] }, "lib": [ "es2017" ], "emitDecoratorMetadata": true, "experimentalDecorators": true, "skipLibCheck": true, "types": ["node", "webpack-env"] }, "include": [ "src/*/" ], "experimentalDecorators": true }