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
Field names and actual column names can be set separately and need to be supported.
For ERD tools, we want to use properties that match the actual table.
The text was updated successfully, but these errors were encountered:
The problem is that relationFromFields references a user_id column.
If you use raw_user_id for DBStructure, it will not be associated correctly.
You will need to do handling for the association separately.
The @map names are also used for index naming, but they cannot be obtained directly from the index obj, so handling is required.
Task description
ref: https://www.prisma.io/docs/orm/prisma-schema/data-model/models#mapping-model-names-to-tables-or-collections
Field names and actual column names can be set separately and need to be supported.
For ERD tools, we want to use properties that match the actual table.
The text was updated successfully, but these errors were encountered: