create([ 'name' => 'admin', 'email' => config('admin.email'), 'password' => Hash::make(config('admin.password')), ]); } /** * Reverse the migrations. */ public function down(): void { User::where('name', '=', 'admin')->delete(); } };