diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-01-25 09:34:41 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-01-25 09:34:41 -0500 |
commit | e52106e91c6fbf0c5f12c5c81d9df62f517034a1 (patch) | |
tree | 7b320caf9cc2c3be1416b047e781a1c4ea97bae5 | |
parent | a4302416a66253f03013528701c17f251835ef8a (diff) | |
download | alembic-e52106e91c6fbf0c5f12c5c81d9df62f517034a1.tar.gz |
- add a note that alter_column->postgresql_using is raw SQL,
fixes #408
Change-Id: Ia569191d43d49178f78a7bcef458b671f750583e
-rw-r--r-- | alembic/operations/ops.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alembic/operations/ops.py b/alembic/operations/ops.py index f892227..8957982 100644 --- a/alembic/operations/ops.py +++ b/alembic/operations/ops.py @@ -1399,7 +1399,9 @@ class AlterColumnOp(AlterTableOp): :param postgresql_using: String argument which will indicate a SQL expression to render within the Postgresql-specific USING clause - within ALTER COLUMN. + within ALTER COLUMN. This string is taken directly as raw SQL which + must explicitly include any necessary quoting or escaping of tokens + within the expression. .. versionadded:: 0.8.8 |