This commit is contained in:
Saeed Vaziry
2023-07-02 12:47:50 +02:00
commit 5c72f12490
825 changed files with 41659 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<?php
namespace Database\Factories;
use App\Models\DeploymentScript;
use App\Models\Site;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
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(),
];
}
}