From 3bd7cab8d67c272471d9ead0b7b6bc32f86ec98a Mon Sep 17 00:00:00 2001 From: Tim Kluge Date: Sun, 29 Mar 2015 20:47:35 +0200 Subject: [PATCH] Fix type of OwnerType in polymorphism example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6dd1865..58d5b879 100644 --- a/README.md +++ b/README.md @@ -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.