mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Merge branch 'master' into chore/update-migration-guide-beta.18
This commit is contained in:
commit
e4314d5dc9
@ -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`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user