diff options
Diffstat (limited to 'packages/pipeline/migrations/1542152278484-RenameSraOrdersFilledAmounts.ts')
-rw-r--r-- | packages/pipeline/migrations/1542152278484-RenameSraOrdersFilledAmounts.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/pipeline/migrations/1542152278484-RenameSraOrdersFilledAmounts.ts b/packages/pipeline/migrations/1542152278484-RenameSraOrdersFilledAmounts.ts deleted file mode 100644 index a13e3efa5..000000000 --- a/packages/pipeline/migrations/1542152278484-RenameSraOrdersFilledAmounts.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MigrationInterface, QueryRunner } from 'typeorm'; - -export class RenameSraOrdersFilledAmounts1542152278484 implements MigrationInterface { - public async up(queryRunner: QueryRunner): Promise<any> { - await queryRunner.renameColumn('raw.sra_orders', 'maker_asset_filled_amount', 'maker_asset_amount'); - await queryRunner.renameColumn('raw.sra_orders', 'taker_asset_filled_amount', 'taker_asset_amount'); - } - - public async down(queryRunner: QueryRunner): Promise<any> { - await queryRunner.renameColumn('raw.sra_orders', 'maker_asset_amount', 'maker_asset_filled_amount'); - await queryRunner.renameColumn('raw.sra_orders', 'taker_asset_amount', 'taker_asset_filled_amount'); - } -} |