mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02:00
Mention the new reorganise upgrader command.
This commit is contained in:
parent
1448f78a72
commit
9539d17aee
@ -135,10 +135,16 @@ Code which relies on raw SQL queries to these tables will need to be updated.
|
|||||||
|
|
||||||
`SiteTreeFileExtension` is deprecated, and has it's functionality baked directly into `File` dataobject.
|
`SiteTreeFileExtension` is deprecated, and has it's functionality baked directly into `File` dataobject.
|
||||||
|
|
||||||
### New upgrader command
|
### New upgrader commands
|
||||||
The SilverStripe upgrader tool can now be used to convert your `_ss_environment.php` file to an equivalent `.env` file when migrating a SilverStripe 3 project to SilverStripe 4.
|
|
||||||
|
Two new commands have been added to the SilverStripe upgrader tool: `environment` and `reorganise`.
|
||||||
|
|
||||||
|
`environment` allows you to convert your `_ss_environment.php` file to an equivalent `.env` file when migrating a SilverStripe 3 project to SilverStripe 4.
|
||||||
|
|
||||||
|
`reorganise` renames your `mysite` and `mysite/code` folders to `app` and `app/src`. It also warns you of any occurence of `mysite` in your codebase.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd ~/my-project-root
|
cd ~/my-project-root
|
||||||
upgrade-code environment --write
|
upgrade-code environment --write
|
||||||
|
upgrade-code reorganise --write
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user