You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILED: Path C:\...\alembic\after is not represented in current version locations
FAILED: Path C:\...\alembic\before is not represented in current version locations
Versions.
OS: Windows 11 Pro, 22H2, 22621.1992
Python: 3.8.17
Alembic: 1.11.1
SQLAlchemy: 1.4.48
Database: PostgreSQL 9.6.2
Additional context
I use two heads - after and before. I have following in alembic.ini:
Discussed in #1284
Originally posted by harpener July 27, 2023
Hi guys.
Describe the bug
Cannot generate migration in project with multiple heads because location paths do not match.
Expected behavior
Migration is generated.
To Reproduce
Error
Versions.
Additional context
I use two heads -
after
andbefore
. I have following inalembic.ini
:I noticed that my Python returns following:
As you can see, the letter-case of drive letter is different which is where the problem comes from.
I haven't encountered such error in past, but I recently installed the OS anew and updated Python to its latest security fix, if it helps.
Do you have any idea what is wrong?
Have a nice day!
The text was updated successfully, but these errors were encountered: