Update schema for sra_orders

This commit is contained in:
Alex Browne
2018-11-13 14:57:58 -08:00
committed by Fred Carlsen
parent caeb59a9ae
commit 7f574949a4

View File

@@ -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;