Skip to content

Commit

Permalink
fix: update entity
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadybcgo committed Jun 13, 2024
1 parent 3b5c47e commit 20db217
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/entities/balanceOfLp.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { bigIntNumberTransformer } from "../transformers/bigIntNumber.transforme
import { hexTransformer } from "../transformers/hex.transformer";

@Entity({ name: "balancesOfLp" })
@Index(["blockNumber", "pairAddress", "tokenAddress"])
@Index(["blockNumber", "pairAddress", "address", "tokenAddress"])
@Index(["blockNumber", "pairAddress", "tokenAddress", "address"])
export class BalanceOfLp extends BaseEntity {
@PrimaryColumn({ type: "bytea", transformer: hexTransformer })
public readonly address: string;
Expand Down

0 comments on commit 20db217

Please sign in to comment.