Join Slack
Powered by
Hi, I have a general question regarding my naming ...
# orm-help
u
ut dev
11/03/2021, 11:49 AM
Hi, I have a general question regarding my naming of the foreign keys in my schema, is this naming fine?
https://kopy.io/gSQfd
r
Ryan
11/03/2021, 12:14 PM
We usually use
these
naming conventions for models and fields, but you can use anything.
u
ut dev
11/03/2021, 12:16 PM
ahh camelCase I will change that. Are the foreign key namings ok?
r
Ryan
11/03/2021, 1:03 PM
We use camelCase for foreign key names as well. If you’d like to keep those as snake case in the database, then you can use
@map
as shown
here
.
Open in Slack
Previous
Next