nci-ats/fs-middlelayer-api

View on GitHub
src/models/files.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(sequelize, DataTypes) {
    const files = sequelize.define('files', {
        id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4 },
        applicationId: { type: DataTypes.UUID, field: 'application_id' },
        fileType: { type: DataTypes.STRING(10), field: 'file_type' },
Severity: Minor
Found in src/models/files.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status