Add a new New upgrader command section

This commit is contained in:
Maxime Rainville 2018-04-17 16:25:58 +12:00 committed by GitHub
parent ee2774de31
commit d4f61b4001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,3 +134,11 @@ and are replaced by the `SiteTreeLink` and `FileLink` many_many through joining
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.
### New upgrader command
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.
```
cd ~/my-project-root
upgrade-code environment --write
```