Skip to content

Commit

Permalink
fix: proxy outbound migration drop column
Browse files Browse the repository at this point in the history
  • Loading branch information
gozarman committed Feb 29, 2024
1 parent 90fe129 commit 534f090
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@


def upgrade() -> None:
op.drop_column('hosts', 'proxy_outbound')
op.drop_column('hosts', 'sockopt')
with op.batch_alter_table('hosts') as batch_op:
batch_op.drop_column('proxy_outbound')
batch_op.drop_column('sockopt')


def downgrade() -> None:
Expand Down

0 comments on commit 534f090

Please sign in to comment.