Is there actually a best practice when it comes to naming conventions?
Yes, I've read the docs but found the weren't particularly explicit in what best practice actually is.
What I've been able to deduce is the following:
1. It's best practice to use PascalCase for Prisma model names
2. It's best practice to use camelCase for Prisma column names
3. It's best practice to use snake_case for everything in Postgres
4. You can map tables and columns using @@map and @map respectively
5. Prisma will never automatically manipulate case
So, if the above points are correct should I therefore conclude that it's best practice to @map every table and @@map every column just to handle the case translation?
What I've been able to deduce is the following:
1. It's best practice to use PascalCase for Prisma model names
2. It's best practice to use camelCase for Prisma column names
3. It's best practice to use snake_case for everything in Postgres
4. You can map tables and columns using @@map and @map respectively
5. Prisma will never automatically manipulate case
So, if the above points are correct should I therefore conclude that it's best practice to @map every table and @@map every column just to handle the case translation?