database/migrations/2018_04_20_180049_create_users_table.php
Method up
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function up(): void
{
if (! Schema::hasTable('users')) {
Schema::create('users', function (Blueprint $table) {
$table->increments('id');