Fix type of OwnerType in polymorphism example

This commit is contained in:
Tim Kluge 2015-03-29 20:47:35 +02:00
parent 7d16055a5d
commit 3bd7cab8d6
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ Supports polymorphic has-many and has-one associations.
Id int
Name string
OwnerId int
OwnerType int
OwnerType string
}
```
Note: polymorphic belongs-to and many-to-many are explicitly NOT supported, and will throw errors.