aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/migrations
diff options
context:
space:
mode:
authorJake Ellowitz <wakkadojo@users.noreply.github.com>2018-11-27 06:55:45 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commit1aa3f9d69f7a6570c6fa62c542063fa92fc0bf5a (patch)
tree94780ceb572a82594cf2168606e837053206847d /packages/pipeline/migrations
parentdea89c4e221d5b22de97b27573719cd27ce250c7 (diff)
downloaddexon-sol-tools-1aa3f9d69f7a6570c6fa62c542063fa92fc0bf5a.tar.gz
dexon-sol-tools-1aa3f9d69f7a6570c6fa62c542063fa92fc0bf5a.tar.zst
dexon-sol-tools-1aa3f9d69f7a6570c6fa62c542063fa92fc0bf5a.zip
updating comment for 0x trusted tokens
Diffstat (limited to 'packages/pipeline/migrations')
-rw-r--r--packages/pipeline/migrations/1542655823221-NewMetadataAndOHLCVTables.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/pipeline/migrations/1542655823221-NewMetadataAndOHLCVTables.ts b/packages/pipeline/migrations/1542655823221-NewMetadataAndOHLCVTables.ts
index 8d131271b..838f5ba9c 100644
--- a/packages/pipeline/migrations/1542655823221-NewMetadataAndOHLCVTables.ts
+++ b/packages/pipeline/migrations/1542655823221-NewMetadataAndOHLCVTables.ts
@@ -1,10 +1,8 @@
-import {MigrationInterface, QueryRunner} from 'typeorm';
+import { MigrationInterface, QueryRunner } from 'typeorm';
export class NewMetadataAndOHLCVTables1542655823221 implements MigrationInterface {
-
// tslint:disable-next-line
public async up(queryRunner: QueryRunner): Promise<any> {
-
await queryRunner.query(`
CREATE TABLE raw.token_metadata (
address VARCHAR NOT NULL,
@@ -44,7 +42,6 @@ export class NewMetadataAndOHLCVTables1542655823221 implements MigrationInterfac
// tslint:disable-next-line
public async down(queryRunner: QueryRunner): Promise<any> {
-
await queryRunner.query(`
CREATE TABLE raw.token_on_chain_metadata (
address VARCHAR NOT NULL,
@@ -60,5 +57,4 @@ export class NewMetadataAndOHLCVTables1542655823221 implements MigrationInterfac
await queryRunner.dropTable('raw.ohlcv_external');
}
-
}