diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-26 06:31:41 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:06 +0800 |
commit | 40610830da70ae406227e80c700efea11042ba68 (patch) | |
tree | 3baa2ebd67699f34545a40863479141cb57bebff /packages/pipeline/src/entities/ExchangeFillEvent.ts | |
parent | 60bc27c616c411cf67bf89e669fb293135359685 (diff) | |
download | dexon-0x-contracts-40610830da70ae406227e80c700efea11042ba68.tar.gz dexon-0x-contracts-40610830da70ae406227e80c700efea11042ba68.tar.zst dexon-0x-contracts-40610830da70ae406227e80c700efea11042ba68.zip |
Use multi-primary keys for event and filter null logIndexes
Diffstat (limited to 'packages/pipeline/src/entities/ExchangeFillEvent.ts')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeFillEvent.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/entities/ExchangeFillEvent.ts b/packages/pipeline/src/entities/ExchangeFillEvent.ts index e66bd64e3..9ac8eb349 100644 --- a/packages/pipeline/src/entities/ExchangeFillEvent.ts +++ b/packages/pipeline/src/entities/ExchangeFillEvent.ts @@ -5,10 +5,10 @@ import { AssetType } from '../types'; @Entity() export class ExchangeFillEvent extends BaseEntity { @PrimaryColumn() public logIndex!: number; + @PrimaryColumn() public blockNumber!: number; @Column() public address!: string; @Column() public rawData!: string; - @Column() public blockNumber!: number; @Column() public makerAddress!: string; @Column() public takerAddress!: string; |