api/src/migrations/1663168791294-ImpactMaterializedViewWithScenarios.ts
Function up
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
'DROP MATERIALIZED VIEW IF EXISTS impact_materialized_view;',
);
await queryRunner.query(`