3 ms·
Uh, what part is hard? It's literally 3 lines of work, if you use a tool that does most of the work for you. [Here](https://github.com/fake-name/ReadableWebPro
by fake-name 8y ago
Uh, what part is hard?
It's literally 3 lines of work, if you use a tool that does most of the work for you. [Here](https://github.com/fake-name/ReadableWebProxy/blob/510cc41ae61d2865abfd984dff0f7b498b57097b/alembic/versions/5a974b8e4966_add_new_enum_value.py https://github.com/fake-name/ReadableWebProxy/blob/510cc41ae...) is a migration I have for one of my hobby projects.
Tthe process is
`alembic revision --autogenerate`
Add two lines to the migration skeleton (4 if you care about downgrades).
`alembic migrate +1`.
I may have the alembic migration commands slightly wrong. It's been a while since I've done them without having bash scrollback handy.