mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
laravel 12 upgrade (#586)
* laravel 12 upgrade * upgrade scribe to v5 * fix lint
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\ServiceStatus;
|
||||
use App\Models\Service;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
@ -15,6 +16,10 @@ class ServiceFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'server_id' => 1,
|
||||
'type' => 'webserver',
|
||||
'name' => 'nginx',
|
||||
'status' => ServiceStatus::READY,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user