philippebeck/nens

View on GitHub
model/OrderModel.js

Summary

Maintainability
A
0 mins
Test Coverage

Function exports has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

module.exports = (Sequelize, DataTypes) => {
  const OrderModel = Sequelize.define("Orders", {
    id: {
      type: DataTypes.SMALLINT.UNSIGNED,
      primaryKey: true,
Severity: Minor
Found in model/OrderModel.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status