NMDSdevopsServiceAdm/SopraSteria-SFC

View on GitHub
backend/migrations/20201027094527-updateBenchmarks_add_barchart_columns.js

Summary

Maintainability
B
4 hrs
Test Coverage

Showing 2 of 2 total issues

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

up: async (queryInterface, Sequelize) => {
const benchmarksTable = {
tableName: "Benchmarks",
schema: "cqc",
};

    Function down has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    down: (queryInterface, Sequelize) => {
    const benchmarksTable = {
    tableName: "Benchmarks",
    schema: "cqc",
    };
      Category
      Status