lasthourcloud/database/seeders/ProjectSettingSeeder.php
2023-04-25 10:47:13 +02:00

17 lines
347 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Project;
use Illuminate\Database\Seeder;
class ProjectSettingSeeder extends Seeder
{
public function run(): void
{
$first_project = Project::find(1);
// $first_project->settings->wildcard_domain = 'wildcard.example.com';
$first_project->settings->save();
}
}