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
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:04:25 +0800
commit6739261a7e46a5832bbcde89b76ee564fd798b1b (patch)
treeff4b2790354919c5a275973fe6ebe1715ccf6487 /packages/pipeline/migrations
parent72c45d9ea90237d87053fd1ddc751fc699527937 (diff)
downloaddexon-sol-tools-6739261a7e46a5832bbcde89b76ee564fd798b1b.tar.gz
dexon-sol-tools-6739261a7e46a5832bbcde89b76ee564fd798b1b.tar.zst
dexon-sol-tools-6739261a7e46a5832bbcde89b76ee564fd798b1b.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');
}
-
}