Describe the bug
file_template from alembic.ini doesn't apply for migrations naming.
Instead of using:
file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
it uses %%(rev)s_%%(slug)s default template.
To Reproduce
Steps to reproduce the behavior:
- Create any model to create a migration.
- Uncomment
file_template line in alembic.ini
- Run
reflex db makemigrations
- It creates migration with default template file naming, without dates.
Expected behavior
After uncommenting the file_template field in alembic.ini migration created with custom template.
Screenshots

Specifics (please complete the following information):
- Python Version: 3.13.2
- Reflex Version: 0.7.2
- OS: Ubuntu 24.04
PS. I've tried to understand what's wrong but looks like I'm stuck with this issue.