wip: persisting data
This commit is contained in:
@@ -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)',
|
||||
|
Reference in New Issue
Block a user