gal-digital-gmbh / pimcore-simple-migration
Make pimcore migration simple
Package info
github.com/gal-digital-gmbh/pimcore-simple-migration
Type:symfony-bundle
pkg:composer/gal-digital-gmbh/pimcore-simple-migration
1.0.0
2022-05-11 15:22 UTC
Requires
- php: ^8.0
- symfony/console: ^5.4
- symfony/framework-bundle: ^5.0|^6.0
- symfony/yaml: ^5.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.8
- phpstan/phpstan: ^1.4
This package is auto-updated.
Last update: 2026-03-12 00:24:13 UTC
README
Provide helper commands to perform doctrine migrate per namespace
Requirements
- Pimcore >= 10.4
- config file in your project
PIMCORE_PROJECT_ROOT . '/config/packages/doctrine-migrations.yaml'
Installation
Require the bundle
composer require gal-digital-gmbh/pimcore-simple-migration
Commands
php bin/console migrate Please select namespace [0] all [1] App\Migrations [2] App\NamespaceX\Migrations
Rollback one migration of namespace
php bin/console migrate:prev Please select namespace [0] App\Migrations [1] App\NamespaceX\Migrations
Migrate one migration of namespace
php bin/console migrate:next Please select namespace [0] App\Migrations [1] App\NamespaceX\Migrations
Generate new migration class in your selected namespace
php bin/console migration:generate Please select namespace [0] App\Migrations [1] App\NamespaceX\Migrations