{"id":19095100,"url":"https://github.com/shopsys/migrations","last_synced_at":"2025-07-08T20:36:06.309Z","repository":{"id":45642926,"uuid":"55765934","full_name":"shopsys/migrations","owner":"shopsys","description":"[READ-ONLY] Command for transactional Doctrine migrations","archived":false,"fork":false,"pushed_at":"2025-04-15T14:34:49.000Z","size":352,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"17.0","last_synced_at":"2025-04-19T03:33:50.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shopsys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-08T09:09:19.000Z","updated_at":"2025-03-31T08:35:21.000Z","dependencies_parsed_at":"2024-03-07T11:45:53.549Z","dependency_job_id":"af3edbe0-072d-4443-8214-7f42b8f20522","html_url":"https://github.com/shopsys/migrations","commit_stats":null,"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fmigrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fmigrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fmigrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fmigrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopsys","download_url":"https://codeload.github.com/shopsys/migrations/tar.gz/refs/heads/17.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251717071,"owners_count":21632234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:32:45.449Z","updated_at":"2025-07-08T20:36:06.285Z","avatar_url":"https://github.com/shopsys.png","language":"PHP","readme":"## About\n\n[![Downloads](https://img.shields.io/packagist/dt/shopsys/migrations.svg)](https://packagist.org/packages/shopsys/migrations)\n\nThis bundle provides commands which can be useful for database migrations:\n\n- `shopsys:migrations:check-mapping` checks if ORM mapping is valid.\n- `shopsys:migrations:check-schema` checks if database schema is satisfying ORM.\n- `shopsys:migrations:count` returns count of migrations to execute.\n- `shopsys:migrations:migrate` executes all database migrations in one transaction.\n    - the command supports installing migrations from multiple sources, so every bundle can have its own migrations\n    - it creates a `migration-lock.yml` file in the project's root, persisting the order of execution\n    - migrations can be manually reordered or skipped if necessary\n- `shopsys:migrations:generate` generates database migrations if the schema was changed\n    - the command does not generate migrations that break backwards compatibility - eg. column dropping\n    - prompts you to choose the location for migration file if you are developing more than one bundle\n\nThis bundle uses [DoctrineMigrationsBundle](https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle), so you have to install both.\n\nThis repository is maintained by [shopsys/shopsys] monorepo, information about changes is in its `CHANGELOG` file.\n\n## To be able to use this bundle, you need to do following:\n\n1. Require `shopsys/migrations` in `composer.json`\n2. Register bundles in your `AppKernel.php`:\n\n    ```\n    new Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle(),\n    new Shopsys\\MigrationBundle\\ShopsysMigrationBundle(),\n    ```\n\n3. Configure `DoctrineMigrationsBundle` according to its documentation (see https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html#configuration)\n\n## Contributing\n\nThank you for your contributions to Shopsys Migrations package.\nTogether we are making Shopsys Platform better.\n\nThis repository is READ-ONLY.\nIf you want to [report issues](https://github.com/shopsys/shopsys/issues/new) and/or send [pull requests](https://github.com/shopsys/shopsys/compare),\nplease use the main [Shopsys repository](https://github.com/shopsys/shopsys).\n\nPlease check our [Contribution Guide](https://github.com/shopsys/shopsys/blob/HEAD/CONTRIBUTING.md) before contributing.\n\n## Support\n\nWhat to do when you are in troubles or need some help?\nThe best way is to join our [Slack](https://join.slack.com/t/shopsysframework/shared_invite/zt-11wx9au4g-e5pXei73UJydHRQ7nVApAQ).\n\nIf you want to [report issues](https://github.com/shopsys/shopsys/issues/new), please use the main [Shopsys repository](https://github.com/shopsys/shopsys).\n\n[shopsys/shopsys]: (https://github.com/shopsys/shopsys)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fmigrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopsys%2Fmigrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fmigrations/lists"}