aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/Relayer.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-08 07:29:34 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commit8248fbb231a0c0acd59fd1f265114dd6dc78a253 (patch)
tree7e1ef92c4ed8245b243d4ffaedc8690f913e6ac0 /packages/pipeline/src/entities/Relayer.ts
parentdca2a4e9c2712f67852bed4ae6ae76c6434f7e56 (diff)
downloaddexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.gz
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.bz2
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.lz
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.xz
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.tar.zst
dexon-sol-tools-8248fbb231a0c0acd59fd1f265114dd6dc78a253.zip
Update relayer code to use new relayer-registry format
Diffstat (limited to 'packages/pipeline/src/entities/Relayer.ts')
-rw-r--r--packages/pipeline/src/entities/Relayer.ts3
1 files changed, 2 insertions, 1 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;