cattr-app/server-application

View on GitHub
database/migrations/2019_11_29_071129_add_role_to_users.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method updateData has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function updateData()
    {
        $userRoles = DB::table('user_role')->select(['user_id', 'role_id'])->get();
        $total = $userRoles->count();

Severity: Major
Found in database/migrations/2019_11_29_071129_add_role_to_users.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status