bcgov/common-forms-toolkit

View on GitHub
app/src/db/migrations/20200514140356_002-minesoperatorscreening.js

Summary

Maintainability
A
1 hr
Test Coverage

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

exports.up = function(knex) {
  return Promise.resolve()
    .then(() => knex.schema.createTable(`${PREFIX}_form`, table => {
      table.uuid('formId').references('formId').inTable('form').notNullable().primary();
      table.string('description');
Severity: Minor
Found in app/src/db/migrations/20200514140356_002-minesoperatorscreening.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status