lasthourcloud/database/seeders/ProjectSettingSeeder.php

17 lines
347 B
PHP
Raw Normal View History

<?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);
2023-04-25 08:47:13 +00:00
// $first_project->settings->wildcard_domain = 'wildcard.example.com';
$first_project->settings->save();
}
}