You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the datasource manager to perform database operations, the table name used is the class name rather than the name specified in the @Entity({ name: 'your_table_name' }) this happens to all my entities
When using the datasource manager to perform database operations, the table name used is the class name rather than the name specified in the
@Entity({ name: 'your_table_name' })
this happens to all my entitiesWhen the migration runs it clearly creates the table as how I specify it:
which outputs the following correct query during migration:
However when I use the
Repository
/EntityManager
API like so:The query uses the class name rather than the predefined name:
It should be creating something like this:
I will try and create a minimal reproducible example when I have some more time 👍
Regards,
Ian
The text was updated successfully, but these errors were encountered: