Download the PHP package invenso/doctrine-cleanup-migrations without Composer
On this page you can find all versions of the php package invenso/doctrine-cleanup-migrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download invenso/doctrine-cleanup-migrations
More information about invenso/doctrine-cleanup-migrations
Files in invenso/doctrine-cleanup-migrations
Package doctrine-cleanup-migrations
Short Description Invenso DoctrineCleanupMigrations Bundle
License proprietary
Homepage https://www.invenso.nl
Informations about the package doctrine-cleanup-migrations
Invenso DoctrineCleanupMigrations
Getting started
This package is used to clean up your migrations locally by compressing it to one file and deleting all references but the two newly created ones.
Installation
To install this package run:
Usage
After installation run:
and follow the logging closely.
Pending migration check
Before deleting everything the cleanup script will check if there are still migrations pending. If that's the case you need to make sure those will be either applied or discarded before being able to proceed.
Run:
To see more information about the pending versions.
After cleanup migration
After the cleanup you'll get the option to migrate your newly cleaned migrations. The default option is "N" but if you fill out "Y" you'll have to confirm this 2-3 more times.
You can also choose to run the migrations manually:
All versions of doctrine-cleanup-migrations with dependencies
symfony/config Version 4.4.* | 5.4.* | ^6.0
symfony/console Version 4.4.* | 5.4.* | ^6.0
symfony/dependency-injection Version 4.4.* | 5.4.* | ^6.0
symfony/http-kernel Version 4.4.* | 5.4.* | ^6.0