mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
wip
This commit is contained in:
1 parent
0b248e9be4
commit
4df66ebf00
24 files changed
+408
-25
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Application;
|
||||
use App\Models\ApplicationSetting;
|
||||
use App\Models\Environment;
|
||||
use App\Models\GithubApp;
|
||||
use App\Models\StandaloneDocker;
|
||||
use App\Models\SwarmDocker;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ApplicationSettingsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$application_1 = Application::find(1);
|
||||
ApplicationSetting::create([
|
||||
'id' => 1,
|
||||
'application_id' => $application_1->id,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user