From: Kim Jin Su Date: Mon, 29 Feb 2016 16:02:19 +0000 (+0900) Subject: Fix wrong ReST expression X-Git-Tag: rel_0_8_5~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c46a9605029797f081a50ffa786856c1fb993fb;p=thirdparty%2Fsqlalchemy%2Falembic.git Fix wrong ReST expression --- diff --git a/alembic/operations/base.py b/alembic/operations/base.py index 346e03bd..22d601de 100644 --- a/alembic/operations/base.py +++ b/alembic/operations/base.py @@ -395,7 +395,7 @@ class Operations(util.ModuleClsProxy): numerics should be supported. Other types like boolean, dates, etc. may or may not be supported yet by various backends. - :param ``type_``: optional - a :class:`sqlalchemy.types.TypeEngine` + :param type_: optional - a :class:`sqlalchemy.types.TypeEngine` subclass stating the type of this value. In SQLAlchemy expressions, this is usually derived automatically from the Python type of the value itself, as well as diff --git a/alembic/operations/ops.py b/alembic/operations/ops.py index 839c2da2..ed06b4cc 100644 --- a/alembic/operations/ops.py +++ b/alembic/operations/ops.py @@ -124,7 +124,7 @@ class DropConstraintOp(MigrateOperation): :param constraint_name: name of the constraint. :param table_name: table name. - :param ``type_``: optional, required on MySQL. can be + :param type_: optional, required on MySQL. can be 'foreignkey', 'primary', 'unique', or 'check'. :param schema: Optional schema name to operate within. To control quoting of the schema outside of the default behavior, use @@ -1361,7 +1361,7 @@ class AlterColumnOp(AlterTableOp): Set to ``None`` to have the default removed. :param new_column_name: Optional; specify a string name here to indicate the new name within a column rename operation. - :param ``type_``: Optional; a :class:`~sqlalchemy.types.TypeEngine` + :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. :class:`~sqlalchemy.types.Boolean`, :class:`~sqlalchemy.types.Enum`),