wip: persisting data

This commit is contained in:
Andras Bacsai
2023-04-03 13:37:53 +02:00
parent 829a45f410
commit 259f41bb8a
10 changed files with 92 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ use App\Models\Application;
use App\Models\ApplicationSetting;
use App\Models\Environment;
use App\Models\GithubApp;
use App\Models\LocalPersistentVolume;
use App\Models\StandaloneDocker;
use App\Models\SwarmDocker;
use Illuminate\Database\Seeder;
@@ -23,6 +24,8 @@ class ApplicationSeeder extends Seeder
$github_public_source = GithubApp::find(1);
$github_private_source = GithubApp::find(2);
$pv_storage = LocalPersistentVolume::find(1);
Application::create([
'id' => 1,
'name' => 'Public application (from GitHub)',