From 3de994a75b4d3c89fce8f9926f330b9202509150 Mon Sep 17 00:00:00 2001 From: Adam <41971533+jcadam14@users.noreply.github.com> Date: Thu, 4 Jan 2024 11:11:30 -0500 Subject: [PATCH] Forgot to run poetry run black . --- ...ada681e1877f_create_fi_to_type_mapping_table.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/db_revisions/versions/ada681e1877f_create_fi_to_type_mapping_table.py b/db_revisions/versions/ada681e1877f_create_fi_to_type_mapping_table.py index 59557be..f5b7687 100644 --- a/db_revisions/versions/ada681e1877f_create_fi_to_type_mapping_table.py +++ b/db_revisions/versions/ada681e1877f_create_fi_to_type_mapping_table.py @@ -27,16 +27,10 @@ def upgrade() -> None: sa.Column("type_id", sa.String(), sa.ForeignKey("sbl_institution_type.id"), primary_key=True), ) with op.batch_alter_table("financial_institutions") as batch_op: - batch_op.drop_constraint( - "fk_sbl_institution_type_financial_institutions", - type_="foreignkey" - ) - batch_op.drop_index( - op.f("ix_financial_institutions_sbl_institution_type_id") - ) - batch_op.drop_column( - "sbl_institution_type_id" - ) + batch_op.drop_constraint("fk_sbl_institution_type_financial_institutions", type_="foreignkey") + batch_op.drop_index(op.f("ix_financial_institutions_sbl_institution_type_id")) + batch_op.drop_column("sbl_institution_type_id") + def downgrade() -> None: op.drop_table("fi_to_type_mapping")