Files
vito/database/factories/DeploymentScriptFactory.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

28 lines
620 B
PHP

<?php
namespace Database\Factories;
use App\Models\DeploymentScript;
use App\Models\Site;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
/**
* @extends Factory<DeploymentScript>
*/
class DeploymentScriptFactory extends Factory
{
protected $model = DeploymentScript::class;
public function definition(): array
{
return [
'name' => $this->faker->name(),
'content' => $this->faker->word(),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
'site_id' => Site::factory(),
];
}
}