Download the PHP package shopsys/migrations without Composer
On this page you can find all versions of the php package shopsys/migrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package migrations
About
This bundle provides commands which can be useful for database migrations:
shopsys:migrations:check-mapping
checks if ORM mapping is valid.shopsys:migrations:check-schema
checks if database schema is satisfying ORM.shopsys:migrations:count
returns count of migrations to execute.shopsys:migrations:migrate
executes all database migrations in one transaction.- the command supports installing migrations from multiple sources, so every bundle can have its own migrations
- it creates a
migration-lock.yml
file in the project's root, persisting the order of execution - migrations can be manually reordered or skipped if necessary
shopsys:migrations:generate
generates database migrations if the schema was changed- the command does not generate migrations that break backwards compatibility - eg. column dropping
- prompts you to choose the location for migration file if you are developing more than one bundle
This bundle uses DoctrineMigrationsBundle, so you have to install both.
This repository is maintained by monorepo CHANGELOG.md.
To be able to use this bundle, you need to do following:
- Require
shopsys/migrations
incomposer.json
-
Register bundles in your
AppKernel.php
: - Configure
DoctrineMigrationsBundle
according to its documentation (see https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html#configuration)
Contributing
Thank you for your contributions to Shopsys Migrations package. Together we are making Shopsys Platform better.
This repository is READ-ONLY. If you want to report issues and/or send pull requests, please use the main Shopsys repository.
Please, check our Contribution Guide before contributing.
Support
What to do when you are in troubles or need some help? The best way is to join our Slack.
If you want to report issues, please use the main Shopsys repository.
All versions of migrations with dependencies
doctrine/dbal Version ^3.3.3
doctrine/doctrine-migrations-bundle Version ^3.2.2
doctrine/migrations Version ^3.4.1
doctrine/orm Version ^2.5
jdorn/sql-formatter Version ^1.2
psr/log Version ^1.0
symfony/config Version ^5.4
symfony/console Version ^5.4
symfony/dependency-injection Version ^5.4
symfony/filesystem Version ^5.4
symfony/framework-bundle Version ^5.4
symfony/http-kernel Version ^5.4
symfony/templating Version ^5.4
symfony/yaml Version ^5.4