Skip to content

Commit

Permalink
fix TBL name
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshihitoAso committed Nov 6, 2024
1 parent df38a77 commit 52d374e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/model/db/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ChildAccount(Base):
class TmpChildAccountBatchCreate(Base):
"""Temporary table for batch creation of child accounts"""

__tablename__ = "tmp_batch_create_child_account"
__tablename__ = "tmp_child_account_batch_create"

# issuer address
issuer_address: Mapped[str] = mapped_column(String(42), primary_key=True)
Expand Down
4 changes: 2 additions & 2 deletions migrations/versions/18a410bd19b8_v24_12_0_feature_714.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

def upgrade():
op.create_table(
"tmp_batch_create_child_account",
"tmp_child_account_batch_create",
sa.Column("issuer_address", sa.String(length=42), nullable=False),
sa.Column("child_account_index", sa.BigInteger(), nullable=False),
sa.Column("personal_info", sa.JSON(), nullable=False),
Expand All @@ -33,4 +33,4 @@ def upgrade():


def downgrade():
op.drop_table("tmp_batch_create_child_account", schema=get_db_schema())
op.drop_table("tmp_child_account_batch_create", schema=get_db_schema())

0 comments on commit 52d374e

Please sign in to comment.