andela/team-odd-bn-backend

View on GitHub
src/database/migrations/20191115165557-create-users.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  up: (queryInterface, Sequelize) => {
    return queryInterface.createTable('users', {
      id: {
        allowNull: false,
        autoIncrement: true,
Severity: Minor
Found in src/database/migrations/20191115165557-create-users.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status