visavi/rotor

View on GitHub
database/migrations/2018_04_20_180049_create_users_table.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method up has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function up(): void
    {
        if (! Schema::hasTable('users')) {
            Schema::create('users', function (Blueprint $table) {
                $table->increments('id');
Severity: Major
Found in database/migrations/2018_04_20_180049_create_users_table.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status