From 619a7761e98a31edf4128529fa1fe22578922153 Mon Sep 17 00:00:00 2001 From: Evan Owens Date: Tue, 9 Jul 2019 07:56:59 +0900 Subject: [PATCH] Clarify model associations Make it a little more clear that models can belong to the current project or another plugin. --- docs/3.0.0-beta.x/guides/upload.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/3.0.0-beta.x/guides/upload.md b/docs/3.0.0-beta.x/guides/upload.md index c8db42cbb6..95fd666d9d 100644 --- a/docs/3.0.0-beta.x/guides/upload.md +++ b/docs/3.0.0-beta.x/guides/upload.md @@ -25,7 +25,9 @@ Please send FormData in your request body ## Models -To add a new file attribute in your models, it's like adding a new association. In the first example, you will be able to upload and attach one file to the avatar attribute. Whereas, in our second example, you can upload and attach multiple pictures to the product. +Adding a file attribute to a model (or the model of another plugin) is like adding a new association. + +In the first example below, you will be able to upload and attach one file to the avatar attribute. Whereas, in our second example, you can upload and attach multiple pictures to the product. **Path —** `User.settings.json`. ```json