Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
guffee23 committed Nov 29, 2023
1 parent 49cfeb7 commit 8dabaed
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,9 @@ def upgrade() -> None:
op.create_foreign_key(None, "financial_institutions", "address_state", ["hq_address_state"], ["code"])
op.create_foreign_key(None, "financial_institutions", "hmda_institution_type", ["hmda_institution_type_id"], ["id"])
op.create_foreign_key(None, "financial_institutions", "sbl_institution_type", ["sbl_institution_type_id"], ["id"])
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###

op.drop_column("financial_institutions", "top_holder_rssd_id")
op.drop_column("financial_institutions", "top_holder_legal_name")
op.drop_column("financial_institutions", "top_holder_lei")
Expand All @@ -86,4 +83,3 @@ def downgrade() -> None:
op.drop_column("financial_institutions", "primary_federal_regulator_id")
op.drop_column("financial_institutions", "rssd_id")
op.drop_column("financial_institutions", "tax_id")
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.create_table(
"address_state",
sa.Column("code", sa.String(length=2), nullable=False),
Expand All @@ -28,10 +27,7 @@ def upgrade() -> None:
sa.PrimaryKeyConstraint("code"),
sa.UniqueConstraint("name"),
)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table("address_state")
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###

op.create_table(
"federal_regulator",
sa.Column("id", sa.String(length=4), nullable=False),
Expand All @@ -30,11 +28,6 @@ def upgrade() -> None:
sa.UniqueConstraint("name"),
)

# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table("federal_regulator")

# ### end Alembic commands ###
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###

op.create_table(
"sbl_institution_type",
sa.Column("id", sa.String(), nullable=False),
Expand All @@ -31,12 +29,6 @@ def upgrade() -> None:
)
op.create_index(op.f("ix_sbl_institution_type_id"), "sbl_institution_type", ["id"], unique=False)

# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###

op.drop_table("sbl_institution_type")

# ### end Alembic commands ###
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###

op.create_table(
"hmda_institution_type",
sa.Column("id", sa.String(), nullable=False),
Expand All @@ -31,11 +29,6 @@ def upgrade() -> None:
)
op.create_index(op.f("ix_hmda_institution_type_id"), "hmda_institution_type", ["id"], unique=False)

# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table("hmda_institution_type")

# ### end Alembic commands ###

0 comments on commit 8dabaed

Please sign in to comment.