diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 17:46:50 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 17:46:50 +0800 |
commit | 35703539d0f2b4ddb3b11d0de8c9634af59ab71f (patch) | |
tree | ae3731221dbbb3a6fa40060a8d916cfd3f738289 /packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts | |
parent | 92a1fde5b1ecd81b07cdb5bf0c9c1cd3544799db (diff) | |
download | dexon-0x-contracts-stable.tar dexon-0x-contracts-stable.tar.gz dexon-0x-contracts-stable.tar.bz2 dexon-0x-contracts-stable.tar.lz dexon-0x-contracts-stable.tar.xz dexon-0x-contracts-stable.tar.zst dexon-0x-contracts-stable.zip |
Deploy @dexon-foundation/0x.jsstable
Diffstat (limited to 'packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts')
-rw-r--r-- | packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts b/packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts deleted file mode 100644 index 957af4941..000000000 --- a/packages/pipeline/migrations/1547153875669-UpdateDDexAPIToV3.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { MigrationInterface, QueryRunner } from 'typeorm'; - -export class UpdateDDexAPIToV31547153875669 implements MigrationInterface { - public async up(queryRunner: QueryRunner): Promise<any> { - await queryRunner.query(` - UPDATE raw.token_orderbook_snapshots - SET quote_asset_symbol='WETH' - WHERE quote_asset_symbol='ETH' AND - source='ddex'; - `); - } - - public async down(queryRunner: QueryRunner): Promise<any> { - await queryRunner.query(` - UPDATE raw.token_orderbook_snapshots - SET quote_asset_symbol='ETH' - WHERE quote_asset_symbol='WETH' AND - source='ddex'; - `); - } -} |