I'm trying to get the SQL script generated from an alembic revision, but when I run:
alembic upgrade head --sql
It outputs the SQL of all revisions, and because there's a breaking revision in the middle (I haven't figured out why yet), I can't get the script from that point on. Moreover, I only want the SQL script of the last revision.
Is there a parameter to get that?