diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-08 07:29:34 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:13:46 +0800 |
commit | 0a69752d20e8d6ba4c1016c57a79a31c07675231 (patch) | |
tree | 3770ba960e7902f2573fb50fa16a3f81e162bbe5 /packages/pipeline/src/entities | |
parent | f6ebdd1a3f7a387d099aae3c81b81c38c16c7caa (diff) | |
download | dexon-0x-contracts-0a69752d20e8d6ba4c1016c57a79a31c07675231.tar.gz dexon-0x-contracts-0a69752d20e8d6ba4c1016c57a79a31c07675231.tar.zst dexon-0x-contracts-0a69752d20e8d6ba4c1016c57a79a31c07675231.zip |
Update relayer code to use new relayer-registry format
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r-- | packages/pipeline/src/entities/Relayer.ts | 3 | ||||
-rw-r--r-- | packages/pipeline/src/entities/relayer.ts | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/Relayer.ts b/packages/pipeline/src/entities/Relayer.ts index ebdcbf345..605355fa8 100644 --- a/packages/pipeline/src/entities/Relayer.ts +++ b/packages/pipeline/src/entities/Relayer.ts @@ -2,8 +2,9 @@ import { Column, Entity, PrimaryColumn } from 'typeorm'; @Entity() export class Relayer { - @PrimaryColumn() public name!: string; + @PrimaryColumn() public uuid!: string; + @Column() public name!: string; @Column() public url!: string; @Column({ nullable: true, type: String }) public sraHttpEndpoint!: string | null; diff --git a/packages/pipeline/src/entities/relayer.ts b/packages/pipeline/src/entities/relayer.ts index ebdcbf345..605355fa8 100644 --- a/packages/pipeline/src/entities/relayer.ts +++ b/packages/pipeline/src/entities/relayer.ts @@ -2,8 +2,9 @@ import { Column, Entity, PrimaryColumn } from 'typeorm'; @Entity() export class Relayer { - @PrimaryColumn() public name!: string; + @PrimaryColumn() public uuid!: string; + @Column() public name!: string; @Column() public url!: string; @Column({ nullable: true, type: String }) public sraHttpEndpoint!: string | null; |