mirror of
https://github.com/coollabsio/coolify.git
synced 2026-10-06 22:17:23 -04:00
Queue database imports from upload, S3, or server paths via REST, and manage Cloudflare DNS records from integration tokens and domain UIs.
21 lines
496 B
PHP
21 lines
496 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\IntegrationToken;
|
|
use App\Models\Team;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class IntegrationTokenFactory extends Factory
|
|
{
|
|
protected $model = IntegrationToken::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'team_id' => Team::factory(), 'provider' => 'cloudflare', 'name' => fake()->words(2, true),
|
|
'token' => fake()->sha256(), 'capabilities' => ['dns'],
|
|
];
|
|
}
|
|
}
|