Vizzuality/landgriffon

View on GitHub
api/src/migrations/1663168791294-ImpactMaterializedViewWithScenarios.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function up has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public async up(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(
      'DROP MATERIALIZED VIEW IF EXISTS impact_materialized_view;',
    );
    await queryRunner.query(`

    There are no issues that match your filters.

    Category
    Status