You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2018/06/12 19:10:56 UTC

[incubator-superset] branch master updated: [migrations] Cleaning up migration logic (#5167)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 502b617  [migrations] Cleaning up migration logic (#5167)
502b617 is described below

commit 502b617310e2f133ecd8626e0ed3d9ef4f0bf9cd
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Jun 12 12:10:53 2018 -0700

    [migrations] Cleaning up migration logic (#5167)
---
 superset/migrations/versions/f231d82b9b26_.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/superset/migrations/versions/f231d82b9b26_.py b/superset/migrations/versions/f231d82b9b26_.py
index 98379ba..5d3acbe 100644
--- a/superset/migrations/versions/f231d82b9b26_.py
+++ b/superset/migrations/versions/f231d82b9b26_.py
@@ -59,9 +59,6 @@ def downgrade():
         )
 
     # Remove the previous missing uniqueness constraints.
-    bind = op.get_bind()
-    insp = sa.engine.reflection.Inspector.from_engine(bind)
-
     for table, column in names.items():
         with op.batch_alter_table(table, naming_convention=conv) as batch_op:
             batch_op.drop_constraint(

-- 
To stop receiving notification emails like this one, please contact
johnbodley@apache.org.