Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
support **kwargs for Column / add_column() / autogenerate #518
Migrated issue, originally created by Michael Bayer (@zzzeek)
In SQLAlchemy zzzeek/sqlalchemy@de804d7 we added support for
for this one, we want add_column() (not alter_column, I think that's wrong) to support **kwargs. So I can put any key=value in add_column(). then these **kwargs would need to be propagated over to here: https://github.com/sqlalchemy/sqlalchemy/blob/master/lib/sqlalchemy/sql/schema.py#L1355 .
so it's adding the **kwargs, and also when we autogenereate op.create_table() or op.add_column(), those kwargs from the Column object need to render in the Python code.
So this issue requires some knowledge of autogenerate and such to implement. definitely doable but if you haven't worked w/ autogenerate it might take awhlie to familiarize.