diff options
author | Jake Ellowitz <jake.ellowitz@gmail.com> | 2018-11-20 11:11:51 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:17:26 +0800 |
commit | b538fabdef06d734661997a00960bc8a628506f2 (patch) | |
tree | f400ace4fdf86649b5109e832ae5f7acfbda4a44 /packages/pipeline/src/entities | |
parent | 01716e0d5105afffeae4257cf918509de3963a5d (diff) | |
download | dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar.gz dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar.bz2 dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar.lz dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar.xz dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.tar.zst dexon-sol-tools-b538fabdef06d734661997a00960bc8a628506f2.zip |
metadata and trusted sources in same raw table
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r-- | packages/pipeline/src/entities/token_on_chain_metadata.ts | 22 | ||||
-rw-r--r-- | packages/pipeline/src/entities/trusted_tokens.ts | 7 |
2 files changed, 0 insertions, 29 deletions
diff --git a/packages/pipeline/src/entities/token_on_chain_metadata.ts b/packages/pipeline/src/entities/token_on_chain_metadata.ts deleted file mode 100644 index ca1f1827b..000000000 --- a/packages/pipeline/src/entities/token_on_chain_metadata.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Column, Entity, PrimaryColumn } from 'typeorm'; - -@Entity({ name: 'token_on_chain_metadata', schema: 'raw' }) -export class TokenOnChainMetadata { - @PrimaryColumn({ type: 'nvarchar', nullable: false }) - public address!: string; - - @Column({ type: 'integer', nullable: false }) - public decimals!: number; - - @Column({ type: 'nvarchar', nullable: false }) - public symbol!: string; - - @Column({ type: 'nvarchar', nullable: false }) - public name!: string; -} - -@Entity({ name: 'trusted_tokens', schema: 'raw' }) -export class TrustedTokens { - @PrimaryColumn() public address!: string; - @PrimaryColumn() public authority!: string; -} diff --git a/packages/pipeline/src/entities/trusted_tokens.ts b/packages/pipeline/src/entities/trusted_tokens.ts deleted file mode 100644 index 6ec27c963..000000000 --- a/packages/pipeline/src/entities/trusted_tokens.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Column, Entity, PrimaryColumn } from 'typeorm'; - -@Entity({ name: 'trusted_tokens', schema: 'raw' }) -export class TrustedToken { - @PrimaryColumn() public address!: string; - @PrimaryColumn() public authority!: string; -} |