Files
coolify/database/factories/IntegrationTokenFactory.php
T
Andras Bacsai ab3b3926aa feat: add database import API and Cloudflare DNS management
Queue database imports from upload, S3, or server paths via REST, and
manage Cloudflare DNS records from integration tokens and domain UIs.
2026-09-09 11:14:22 +02:00

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'],
];
}
}