sqlalchemy / alembic

A database migrations tool for SQLAlchemy.
MIT License
2.89k stars 249 forks source link

Colon (:) shouldn't be allowed in custom revision id, as it is used as revision range #1540

Open PatilHrushikesh opened 2 months ago

PatilHrushikesh commented 2 months ago

I created a revision named REV:1, when I tried to upgrade to it using alembic upgrade REV:1 It showed error FAILED" Range revision not allowed

Expected: Don't allow revision name containing colon