diff options
Diffstat (limited to 'docs/build/batch.rst')
| -rw-r--r-- | docs/build/batch.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/build/batch.rst b/docs/build/batch.rst index 6c2e9d4..b1a1022 100644 --- a/docs/build/batch.rst +++ b/docs/build/batch.rst @@ -230,7 +230,7 @@ constraint named ``ck1``. In order to drop this column, we have to drop the check constraint also:: with self.op.batch_alter_table("some_table") as batch_op: - batch_op.drop_constraint("ck1", "check") + batch_op.drop_constraint("ck1", type_="check") batch_op.drop_column('q') .. versionchanged:: 1.7 Named CHECK constraints participate in batch mode |
