Skip to content

Commit

Permalink
chore: modify pk to composite
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Oct 30, 2023
1 parent 4843547 commit 74bb1b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def upgrade() -> None:
sa.Column('fully_diluted_market_cap', sa.Float(), nullable=False),
sa.Column('tvl', sa.Float(), nullable=True),
sa.Column('last_updated', sa.DateTime(), nullable=False),
sa.PrimaryKeyConstraint('base', 'quote'),
sa.PrimaryKeyConstraint('base', 'quote', 'last_updated'),
schema='stats'
)
# ### end Alembic commands ###
Expand Down

0 comments on commit 74bb1b5

Please sign in to comment.