app/src/db/migrations/20200514140356_002-minesoperatorscreening.js
Function up
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');