]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
fix #20
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Jan 2012 16:54:54 +0000 (11:54 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Jan 2012 16:54:54 +0000 (11:54 -0500)
alembic/op.py

index 846e68f4fab3600ec6ce74df0c0b373a3c5cd336..13b057df445db69fd6fadc6e5957e5427843cd97 100644 (file)
@@ -143,7 +143,8 @@ def alter_column(table_name, column_name,
     constraint.
     
     :param table_name: string name of the target table.
-    :param column_name: string name of the target column.
+    :param column_name: string name of the target column, 
+     as it exists before the operation begins.
     :param nullable: Optional; specify ``True`` or ``False``
      to alter the column's nullability.
     :param server_default: Optional; specify a string 
@@ -152,7 +153,7 @@ def alter_column(table_name, column_name,
      an alteration to the column's default value.  
      Set to ``None`` to have the default removed.
     :param name: Optional; specify a string name here to
-     indicate a column rename operation.
+     indicate the new name within a column rename operation.
     :param type_: Optional; a :class:`~sqlalchemy.types.TypeEngine`
      type object to specify a change to the column's type.  
      For SQLAlchemy types that also indicate a constraint (i.e.