Vizzuality/landgriffon

View on GitHub
api/src/migrations/1667976597890-PointerToAllHarvestSumColumn.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  public async up(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(`CREATE OR REPLACE FUNCTION sum_h3_weighted_cropland_area(
    geo_region_id uuid,
    material_id uuid,
    h3_data_type material_to_h3_type_enum
Severity: Minor
Found in api/src/migrations/1667976597890-PointerToAllHarvestSumColumn.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status