stackforge/sqlalchemy-migrate — pull request #1 by darchambault (2013-12-19 20:35:44+00:00)
Title: break down SQL migration scripts into separate SQL statements before execution

This proposed modification allows for SQL migration scripts to be more complex, including performing SELECT and INSERT/UPDATE operations on the same database table in MySQL (this currently crashes).

Credit goes to jaypipes@gmail.com as seen here: https://code.google.com/p/sqlalchemy-migrate/issues/detail?id=99#c2