Skip to content

Commit 2e4cbc3

Browse files
revert change
1 parent 23704ae commit 2e4cbc3

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/connect-to-existing-data-sources/connect-postgres-mysql-database

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/data/connect-to-existing-data-sources/connect-postgres-mysql-database/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ When deploying your app to production, you need to [add the database connection
208208

209209
## Rename generated models and fields
210210

211-
To improve the ergonomics of your API, you might want to rename the generate fields or types to better accommodate your use case. Use the `renameModels()` modifier to rename the auto-inferred data models.
211+
To improve the ergonomics of your API, you might want to rename the generate fields or types to better accommodate your use case. Use the renameModels() and renameModelFields() modifiers to rename the auto-inferred data models and their fields
212212

213213
```ts
214214
// Rename models or fields to be more idiomatic for frontend code

0 commit comments

Comments
 (0)