mirror of
https://github.com/coollabsio/coolify.git
synced 2026-10-11 16:35:39 -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
561 B
PHP
21 lines
561 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\DnsProviderZone;
|
|
use App\Models\IntegrationToken;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class DnsProviderZoneFactory extends Factory
|
|
{
|
|
protected $model = DnsProviderZone::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'integration_token_id' => IntegrationToken::factory(), 'provider_zone_id' => fake()->uuid(),
|
|
'name' => fake()->unique()->domainName(), 'account_id' => fake()->uuid(), 'account_name' => fake()->company(),
|
|
];
|
|
}
|
|
}
|