aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-14 06:57:58 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:15:56 +0800
commit7f574949a45bac4630d53dca36c745406570c2b6 (patch)
tree05610755fd2356024d2815e7cc778545f8d86e7e
parentcaeb59a9ae4d4281e9b5f80f39903e7b9ad559aa (diff)
downloaddexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar.gz
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar.bz2
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar.lz
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar.xz
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.tar.zst
dexon-sol-tools-7f574949a45bac4630d53dca36c745406570c2b6.zip
Update schema for sra_orders
-rw-r--r--packages/pipeline/src/entities/sra_order.ts7
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;