data/migrations/20200428091407_users_table.js
Function down
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.down = function (knex) {
return knex('users')
.del()
.then(() => {
return knex.schema.alterTable('users', tbl => {
Function up
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.up = function (knex) {
return knex('users')
.del()
.then(() => {
return knex.schema.alterTable('users', tbl => {