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/ExchangeCancelEvent.ts | |
parent | 60bc27c616c411cf67bf89e669fb293135359685 (diff) | |
download | dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar.gz dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar.bz2 dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar.lz dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar.xz dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.tar.zst dexon-sol-tools-40610830da70ae406227e80c700efea11042ba68.zip |
Use multi-primary keys for event and filter null logIndexes
Diffstat (limited to 'packages/pipeline/src/entities/ExchangeCancelEvent.ts')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeCancelEvent.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/entities/ExchangeCancelEvent.ts b/packages/pipeline/src/entities/ExchangeCancelEvent.ts index 8e21518d3..c925a4b01 100644 --- a/packages/pipeline/src/entities/ExchangeCancelEvent.ts +++ b/packages/pipeline/src/entities/ExchangeCancelEvent.ts @@ -5,10 +5,10 @@ import { AssetType } from '../types'; @Entity() export class ExchangeCancelEvent 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({ nullable: true, type: String }) |