]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
another detail re: sql server here
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Nov 2011 20:04:33 +0000 (15:04 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Nov 2011 20:04:33 +0000 (15:04 -0500)
alembic/op.py

index 224003e72526f49731b8c6c17e372d4e034d4f17..9861db1ef64c00f47c90edf59ad2e216cd5594ee 100644 (file)
@@ -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.