PascalCase table name not working as expected. mariadb #17316
Unanswered
jfontintek
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I'm using the tableName property to name my tables using PascalCase, but the resulting table is exactly as I wrote but without any capitalization. for example tableName: 'HardwareEvents' -> hardwareevents.
Here is the version of the packages used:
"mariadb": "^3.3.0",
"sequelize": "^6.37.2",
"sequelize-typescript": "^2.1.6"
Running on node 20.12.1 with MariaDb version 10.11.7.
I'm initialiazing the tables using Modelname.sync() when node start up for the moment.
Here is the code of the model definition.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions