8000 fix: pivot table default description to include sorting (#32) · adonisjs/lucid.adonisjs.com@768d384 · GitHub
[go: up one dir, main page]

Skip to content

Commit 768d384

Browse files
authored
fix: pivot table default description to include sorting (#32)
1 parent 89633f3 commit 768d384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/models/relationships.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ Remember, if you intend to use camelCase for your foreign key definition, keep i
351351

352352
### Custom pivot table
353353

354-
The default value for the pivot table name is computed by [combining](https://github.com/adonisjs/lucid/blob/develop/src/orm/naming_strategies/camel_case.ts#L74) the **parent model 4FF9 name** and the **related model name**. However, you can also define a custom pivot table.
354+
The default value for the pivot table name is computed by [sorting, then combining](https://github.com/adonisjs/lucid/blob/develop/src/orm/naming_strategies/camel_case.ts#L74) the **parent model name** and the **related model name**. However, you can also define a custom pivot table.
355355

356356
```ts
357357
@manyToMany(() => Skill, {

0 commit comments

Comments
 (0)
0