diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-08 22:42:07 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-08 22:42:07 -0500 |
commit | 7d595940d499c255f5f1d8cbdd1bfafad2bcb12f (patch) | |
tree | fce4d1fa8e9e982aaa72d3bd91292ce78cd1d809 /alembic/batch.py | |
parent | 133ff1d16baae56147ecf5f37a7eabbceb8870d7 (diff) | |
download | alembic-7d595940d499c255f5f1d8cbdd1bfafad2bcb12f.tar.gz |
- add a little step to get PG to work rudimentally, however
the drop + recreate routine still needs a solution for refernential
integrity for it to be of general use
Diffstat (limited to 'alembic/batch.py')
-rw-r--r-- | alembic/batch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alembic/batch.py b/alembic/batch.py index a64d2bc..8470404 100644 --- a/alembic/batch.py +++ b/alembic/batch.py @@ -170,6 +170,8 @@ class ApplyBatchImpl(object): def _create(self, op_impl): self._transfer_elements_to_new_table() + + op_impl.prep_table_for_batch(self.table) op_impl.create_table(self.new_table) op_impl._exec( |