2 ms·
Alembic cannot fake a migration, which is a continual source of pain for me at my current job. There are many migrations that I simply don’t trust development t
by sgarland 1y ago
Alembic cannot fake a migration, which is a continual source of pain for me at my current job. There are many migrations that I simply don’t trust development teams to do. The inability to easily tell Alembic to get over itself and trust that something has occurred is frustrating.
- sonthonax 1y agoYou just set the alembic version yourself in the alembic.version table. It’s not rocket science.
- sgarland 1y agoYes, I know how to fix it. I’m saying that it’s absurd to have to drop down to SQL to get an ORM to play nicely; Django handles this with a flag.
- leetrout 1y agoThat's fair. Especially in environments in 2025 where it's common to only care about a DB URL for the app config and pretty much never manually jump into the DB. I run into this with lots of tools and I just shrug and move on... I've actually never given this a second thought until you pointed out this inconsistency.