ncutixavier/find-home

View on GitHub
src/database/models/user.js

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Showing 0 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Wontfix

User.associate = function(models) {
User.hasMany(models.House, {
foreignKey: 'userId',
as: 'houses',
onDelete: 'CASCADE',
Severity: Major
Found in src/database/models/user.js and 1 other location - About 2 hrs to fix
src/database/models/house.js on lines 12..24

There are no issues that match your filters.

Category
Status