Files
protocol/apps-node/rfq-api/migrations/1639527388617-PopulateRfqMakerPairsTable.ts
2023-03-09 11:19:11 -07:00

21 lines
763 B
TypeScript

import { MigrationInterface, QueryRunner } from 'typeorm';
/**
* This migration was originally used to populate `rfq_maker_pairs` table as we move pairs info from
* config files to DB. But the code logic does not work any more as we move more maker config info,
* such as rfqmUri and rfqtUri, to DB.
* So we removed the migration logic but keep the migration file as a placeholder as the original code
* had been executed in DB prod.
*/
export class PopulateRfqMakerPairsTable1639527388617 implements MigrationInterface {
name = 'PopulateRfqMakerPairsTable1639527388617';
public async up(_queryRunner: QueryRunner): Promise<void> {
// no-op
}
public async down(_queryRunner: QueryRunner): Promise<void> {
// no-op
}
}