diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-15 10:47:22 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:16:46 +0800 |
commit | 1d189d112e303aeab898aad4a214f3e8b2ff710a (patch) | |
tree | 2db05a8df90be1a783e80158ccfa7a076a6d619b | |
parent | 829b7cb7125aafeed763d6215bbb21d63ebf58cd (diff) | |
download | dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar.gz dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar.bz2 dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar.lz dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar.xz dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.tar.zst dexon-sol-tools-1d189d112e303aeab898aad4a214f3e8b2ff710a.zip |
Add homepage_url to relayers
-rw-r--r-- | packages/pipeline/src/entities/relayer.ts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/pipeline/src/entities/relayer.ts b/packages/pipeline/src/entities/relayer.ts index ef1f9cf2a..b3a856fd8 100644 --- a/packages/pipeline/src/entities/relayer.ts +++ b/packages/pipeline/src/entities/relayer.ts @@ -5,19 +5,20 @@ export class Relayer { @PrimaryColumn() public uuid!: string; @Column() public name!: string; - @Column() public url!: string; - @Column({ nullable: true, type: String, name: 'sra_http_endpoint' }) + @Column({ name: 'homepage_url', type: 'varchar' }) + public homepageUrl!: string; + @Column({ name: 'sra_http_endpoint', type: 'varchar', nullable: true }) public sraHttpEndpoint!: string | null; - @Column({ nullable: true, type: String, name: 'sra_ws_endpoint' }) + @Column({ name: 'sra_ws_endpoint', type: 'varchar', nullable: true }) public sraWsEndpoint!: string | null; - @Column({ nullable: true, type: String, name: 'app_url' }) + @Column({ name: 'app_url', type: 'varchar', nullable: true }) public appUrl!: string | null; // TODO(albrow): Add exchange contract or protocol version? // TODO(albrow): Add network ids for addresses? - @Column({ type: 'varchar', array: true, name: 'fee_recipient_addresses' }) + @Column({ name: 'fee_recipient_addresses', type: 'varchar', array: true }) public feeRecipientAddresses!: string[]; - @Column({ type: 'varchar', array: true, name: 'taker_addresses' }) + @Column({ name: 'taker_addresses', type: 'varchar', array: true }) public takerAddresses!: string[]; } |