Commit 9295d182 authored by sim's avatar sim

[DB] Alembic: fix bug in view handling

parent 311d22af
......@@ -69,7 +69,7 @@ class CreateViewOp(ReversibleOp):
@Operations.register_operation("drop_view", "invoke_for_target")
class DropViewOp(ReversibleOp):
def reverse(self):
return CreateViewOp(self.view)
return CreateViewOp(
@Operations.register_operation("create_sp", "invoke_for_target")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment