Merge branch 'master' into chore/update-migration-guide-beta.18

This commit is contained in:
Alexandre BODIN 2019-12-17 21:51:04 +01:00 committed by GitHub
commit e4314d5dc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ Previously the ctx.state.user was populated with the user informations, its role
## File model
The file model has been update. The `size` field is now a decimal number, allowing correct sorting behavior.
The file model has been updated. The `size` field is now a decimal number, allowing correct sorting behavior.
You will need to clear some database indexes if you are using either Mysql or PostgreSQL.
@ -141,7 +141,7 @@ Start by renaming the `./groups` folder to `./components` in your project root f
Components now are placed into `categories`. To reflect this you must move your components inside `category` folders.
::: danger
Make sure tu use `-` in your file names (Do not use spaces or underscores).
Make sure to use `-` in your file names (Do not use spaces or underscores).
:::
### Example
@ -164,7 +164,7 @@ components/
└── image-text.json
```
Now that you have moved your component into categories. You need to update your content-types to references them correctly.
Now that you have moved your component into categories. You need to update your content-types to reference them correctly.
**Before**
`./api/restaurant/models/Restaurant.settings.json`