diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-14 06:57:58 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:48 +0800 |
commit | 2cbb82eb0498c539ea16afe4012bd69f154ad027 (patch) | |
tree | fca7ba0aa845560a4ab536fef893080b029874f2 /packages/pipeline/src | |
parent | 96134003e1aa1903bdf051e39e7e244cc8684043 (diff) | |
download | dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar.gz dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar.bz2 dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar.lz dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar.xz dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.tar.zst dexon-sol-tools-2cbb82eb0498c539ea16afe4012bd69f154ad027.zip |
Update schema for sra_orders
Diffstat (limited to 'packages/pipeline/src')
-rw-r--r-- | packages/pipeline/src/entities/sra_order.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/pipeline/src/entities/sra_order.ts b/packages/pipeline/src/entities/sra_order.ts index e59161c81..4b7f652d3 100644 --- a/packages/pipeline/src/entities/sra_order.ts +++ b/packages/pipeline/src/entities/sra_order.ts @@ -8,13 +8,8 @@ export class SraOrder { public exchangeAddress!: string; @PrimaryColumn({ name: 'order_hash_hex' }) public orderHashHex!: string; - - @Column({ name: 'source_url' }) + @PrimaryColumn({ name: 'source_url' }) public sourceUrl!: string; - @Column({ name: 'last_updated_timestamp' }) - public lastUpdatedTimestamp!: number; - @Column({ name: 'first_seen_timestamp' }) - public firstSeenTimestamp!: number; @Column({ name: 'maker_address' }) public makerAddress!: string; |