diff options
Diffstat (limited to 'alembic/batch.py')
-rw-r--r-- | alembic/batch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alembic/batch.py b/alembic/batch.py index e97f74e..6e5dc75 100644 --- a/alembic/batch.py +++ b/alembic/batch.py @@ -271,7 +271,7 @@ class ApplyBatchImpl(object): except KeyError: raise ValueError("No such constraint: '%s'" % const.name) - def add_index(self, idx): + def create_index(self, idx): self.indexes[idx.name] = idx def drop_index(self, idx): |