diff options
Diffstat (limited to 'packages/pipeline/migrations/1542401122477-MakeTakerAddressNullable.ts')
-rw-r--r-- | packages/pipeline/migrations/1542401122477-MakeTakerAddressNullable.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/pipeline/migrations/1542401122477-MakeTakerAddressNullable.ts b/packages/pipeline/migrations/1542401122477-MakeTakerAddressNullable.ts deleted file mode 100644 index 957c85a36..000000000 --- a/packages/pipeline/migrations/1542401122477-MakeTakerAddressNullable.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { MigrationInterface, QueryRunner } from 'typeorm'; - -export class MakeTakerAddressNullable1542401122477 implements MigrationInterface { - public async up(queryRunner: QueryRunner): Promise<any> { - await queryRunner.query( - `ALTER TABLE raw.exchange_cancel_events - ALTER COLUMN taker_address DROP NOT NULL;`, - ); - } - - public async down(queryRunner: QueryRunner): Promise<any> { - await queryRunner.query( - `ALTER TABLE raw.exchange_cancel_events - ALTER COLUMN taker_address SET NOT NULL;`, - ); - } -} |