aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/Relayer.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-09 02:53:18 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:14:08 +0800
commit99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1 (patch)
tree738a31fa77df797eaf5a03f7d608a804b5f9d9d4 /packages/pipeline/src/entities/Relayer.ts
parent9d8c423b983e23c2f5e1a404ddb97a68708d618e (diff)
downloaddexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar.gz
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar.bz2
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar.lz
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar.xz
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.tar.zst
dexon-sol-tools-99d90bb66558bf24c9eaed9a4da19b99ebd7e3b1.zip
Rename table and column names
Diffstat (limited to 'packages/pipeline/src/entities/Relayer.ts')
-rw-r--r--packages/pipeline/src/entities/Relayer.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/pipeline/src/entities/Relayer.ts b/packages/pipeline/src/entities/Relayer.ts
index 605355fa8..94b5232a8 100644
--- a/packages/pipeline/src/entities/Relayer.ts
+++ b/packages/pipeline/src/entities/Relayer.ts
@@ -1,23 +1,23 @@
import { Column, Entity, PrimaryColumn } from 'typeorm';
-@Entity()
+@Entity({ name: 'relayers' })
export class Relayer {
@PrimaryColumn() public uuid!: string;
@Column() public name!: string;
@Column() public url!: string;
- @Column({ nullable: true, type: String })
+ @Column({ nullable: true, type: String, name: 'sra_http_endpoint' })
public sraHttpEndpoint!: string | null;
- @Column({ nullable: true, type: String })
+ @Column({ nullable: true, type: String, name: 'sra_ws_endpoint' })
public sraWsEndpoint!: string | null;
- @Column({ nullable: true, type: String })
+ @Column({ nullable: true, type: String, name: 'app_url' })
public appUrl!: string | null;
// TODO(albrow): Add exchange contract or protocol version?
// TODO(albrow): Add network ids for addresses?
- @Column({ type: 'varchar', array: true })
+ @Column({ type: 'varchar', array: true, name: 'fee_recipient_addresses' })
public feeRecipientAddresses!: string[];
- @Column({ type: 'varchar', array: true })
+ @Column({ type: 'varchar', array: true, name: 'taker_addresses' })
public takerAddresses!: string[];
}