mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
Wrong column name
I think you meant `categoryName` instead of `categoryId` here.
This commit is contained in:
parent
fe2487724c
commit
7e7e8bb8f3
@ -140,7 +140,7 @@ category: Category;
|
||||
```
|
||||
|
||||
The relation now refers to `name` of the `Category` entity, instead of `id`.
|
||||
Column name for such relation will become `categoryId`
|
||||
Column name for such relation will become `categoryName`
|
||||
|
||||
## `@JoinTable` options
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user