From: Mike Bayer Date: Wed, 30 Nov 2011 20:04:33 +0000 (-0500) Subject: another detail re: sql server here X-Git-Tag: rel_0_1_0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a5ed1cddb40d39ffe2e43a9a5ce710173b3690;p=thirdparty%2Fsqlalchemy%2Falembic.git another detail re: sql server here --- diff --git a/alembic/op.py b/alembic/op.py index 224003e7..9861db1e 100644 --- a/alembic/op.py +++ b/alembic/op.py @@ -160,8 +160,10 @@ def alter_column(table_name, column_name, :param existing_type: Optional; a :class:`~sqlalchemy.types.TypeEngine` type object to specify the previous type. This is required for all MySQL column alter operations that - don't otherwise specify a new type. It is also - used if the type is a so-called SQLlchemy "schema" type which + don't otherwise specify a new type, as well as for + when nullability is being changed on a SQL Server + column. It is also used if the type is a so-called + SQLlchemy "schema" type which may define a constraint (i.e. :class:`~sqlalchemy.types.Boolean`, :class:`~sqlalchemy.types.Enum`), so that the constraint can be dropped.