symfonydoctrine-migrations
Create and manage Doctrine migrations for schema versioning; handle migration dependencies, rollbacks, and production deployment
When & Why to Use This Skill
This Claude skill automates the management of database schema versioning using Symfony's Doctrine Migrations. It streamlines the creation, execution, and rollback of migrations, ensuring database consistency across development and production environments while handling complex dependencies and deployment workflows.
Use Cases
- Schema Versioning: Automatically generate and manage migration files to track changes in the database structure over time.
- Deployment Automation: Safely execute database migrations during production deployments to ensure the schema matches the application code.
- Error Recovery: Perform database rollbacks to a previous stable state in case of failed updates or unexpected schema issues.
- Dependency Management: Handle complex migration sequences and dependencies to maintain data integrity in multi-tier application architectures.
| name | symfony:doctrine-migrations |
|---|---|
| description | Use when symfony doctrine migrations |
symfony:doctrine-migrations (Micro)
Use when
- Use when symfony doctrine migrations
Rules
- Keep changes minimal and focused
- Ask before running servers/builds/tests
- Load reference/examples only on explicit request
References
reference.mddocs/complexity-tiers.md