'<current_date>.<hash>' as the autogenerated revision id #943
VasiliyKirstia
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi, you can change the file name template quite easily in the configuration: https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file look for the file template documentation |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem I have faced using alembic is that it is quite difficult to track changes via autogenerated revisions. For example, to open all files in the order they were created I have to check the current revision in a database, then I have to find the file with the given hash, then I have to find the file with down_revision and so on.
My life would be much easier if all revisions (file names) were prefixed with the creation data.
Here is my solution.
Beta Was this translation helpful? Give feedback.
All reactions