doctrine / doctrine/migrations
Missing documentation for custom migration template
- Dominant language
- PHP
- Stars
- 4.8k
- Forks
- 393
- PR merge metrics
- No merged PRs in 30d
Description
The possibility of setting `custom_template` is not referenced in the docs, only in the docs for [DoctrineMigrationsBundle](https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html).
Also, I was able to find only [one article](https://medium.com/@kcmueller/create-a-custom-template-for-doctrine-migrations-24d2b0314376) on this matter which is for version 2.x and is not working anymore since `` was removed and `` was added.
I think it would be best to add a new chapter with this information + information about all possible tags + example of a template.
I could provide a PR if agreed this part of documentation should be added.
Contributor guide
Research direction
Start with the DoctrineMigrationsBundle documentation linked in the issue and locate the current migration-template documentation in this repository. Identify the current custom_template option and supported tags, then add a chapter with a working template example and verify it against the current version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100