From: Mike Bayer Date: Tue, 3 Jan 2012 16:54:54 +0000 (-0500) Subject: fix #20 X-Git-Tag: rel_0_1_1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4793bc175376082497fc70c89f7caec896b3c061;p=thirdparty%2Fsqlalchemy%2Falembic.git fix #20 --- diff --git a/alembic/op.py b/alembic/op.py index 846e68f4..13b057df 100644 --- a/alembic/op.py +++ b/alembic/op.py @@ -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.