Skip to content

Commit

Permalink
Update migration file
Browse files Browse the repository at this point in the history
Co-authored-by: Maxim Martynov <msmarty5@mts.ru>
  • Loading branch information
TiGrib and dolfinus committed Feb 3, 2025
1 parent 21eb73b commit c4c73be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def upgrade() -> None:

def downgrade() -> None:
for base_table in ("output", "input"):
for _, suffix in view_sufix_map.items():
for suffix in view_sufix_map.values():
view_name = base_table + suffix
op.execute(sa.text(f"DROP VIEW IF EXISTS {view_name}"))

Expand Down

0 comments on commit c4c73be

Please sign in to comment.