symfonydoctrine-migrations

MakFly's avatarfrom MakFly

Create and manage Doctrine migrations for schema versioning; handle migration dependencies, rollbacks, and production deployment

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025⬇️1downloads

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.
namesymfony:doctrine-migrations
descriptionUse 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.md
  • docs/complexity-tiers.md