diff --git a/alembic/script/revision.py b/alembic/script/revision.py index c3108e98..f68fc954 100644 --- a/alembic/script/revision.py +++ b/alembic/script/revision.py @@ -45,7 +45,7 @@ _TR = TypeVar("_TR", bound=Optional[_RevisionOrStr]) _relative_destination = re.compile(r"(?:(.+?)@)?(\w+)?((?:\+|-)\d+)") -_revision_illegal_chars = ["@", "-", "+"] +_revision_illegal_chars = ["@", "-", "+", ":"] class _CollectRevisionsProtocol(Protocol):