-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# UPGRADE | ||
|
||
## UPGRADE FROM 1.4 to 2.0 | ||
|
||
- Require PHP 8.1+ | ||
- Symfony LTS has been changed from `3.4` to `5.4` | ||
- Application composer HOME was changed to `%kernel.project_dir%/var/.composer` | ||
|
||
#### Run migrations | ||
There are no major BC breaks in the database structure. | ||
|
||
Run the command to show SQL changes: | ||
|
||
``` | ||
bin/console doctrine:schema:update --dump-sql | ||
``` | ||
|
||
Run the command to execute migrations: | ||
|
||
``` | ||
bin/console doctrine:schema:update --force | ||
``` | ||
|
||
*Note* | ||
Now composer v2 metadata is supported. The app also supports composer v1 too. | ||
No additional action required. | ||
|
||
### Docker UPGRADE | ||
|
||
- Image has been renamed from [okvpn/packeton](https://hub.docker.com/r/okvpn/packeton) to [packeton/packeton](https://hub.docker.com/r/packeton/packeton) | ||
- Volume directory structure was changed: | ||
- /data/composer - composer home | ||
- /data/redis - redis data | ||
- /data/zipball - dist path | ||
- /data/ssh - ssh for www-data path | ||
|
||
Before: | ||
|
||
``` | ||
- .docker/redis:/var/lib/redis | ||
- .docker/zipball:/var/www/packagist/app/zipball | ||
- .docker/composer:/var/www/.composer | ||
- .docker/ssh:/var/www/.ssh | ||
``` | ||
|
||
After: | ||
|
||
``` | ||
- .docker:/data | ||
``` |