From a9a5ed1cddb40d39ffe2e43a9a5ce710173b3690 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 30 Nov 2011 15:04:33 -0500 Subject: [PATCH] another detail re: sql server here --- alembic/op.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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. -- 2.47.2