aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-08 07:29:34 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:13:46 +0800
commit0a69752d20e8d6ba4c1016c57a79a31c07675231 (patch)
tree3770ba960e7902f2573fb50fa16a3f81e162bbe5 /packages/pipeline/src/entities
parentf6ebdd1a3f7a387d099aae3c81b81c38c16c7caa (diff)
downloaddexon-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.ts3
-rw-r--r--packages/pipeline/src/entities/relayer.ts3
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;