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.
When I add a column with a comment to a table in my SQLAlchemy schema, the autogenerate feature fails to load the Python migration script due to a single quote (in my comment). I've got a syntax error since the result of the renderer is malformed.
Column("id", Integer, primary_key=True),
Column("name", String, nullable=False, comment="artist name"),
# added this column with a single quote in the commentColumn("band", String, comment="Artist's band")
The _render_column in the autogenerate.render module returns something like comment='Artist's band'. There are three single quotes.