ForestAdmin/lumber

View on GitHub
services/analyzer/mysql-table-constraints-getter.js

Summary

Maintainability
A
1 hr
Test Coverage
A
95%

Function MysqlTableConstraintsGetter has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function MysqlTableConstraintsGetter(databaseConnection) {
  const queryInterface = databaseConnection.getQueryInterface();

  // NOTICE: provide an array of array. Each inner array representing a (possibly composite) unique
  //         index
Severity: Minor
Found in services/analyzer/mysql-table-constraints-getter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status