27 lines
		
	
	
		
			587 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			587 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Database\Seeders;
 | 
						|
 | 
						|
use App\Models\Git;
 | 
						|
use Illuminate\Database\Seeder;
 | 
						|
 | 
						|
class GitSeeder extends Seeder
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Run the database seeds.
 | 
						|
     */
 | 
						|
    public function run(): void
 | 
						|
    {
 | 
						|
        // $project = Project::find(1);
 | 
						|
        // $private_key_1 = PrivateKey::find(1);
 | 
						|
 | 
						|
        // Git::create([
 | 
						|
        //     'api_url' => 'https://api.github.com',
 | 
						|
        //     'html_url' => 'https://github.com',
 | 
						|
        //     'is_public' => false,
 | 
						|
        //     'private_key_id' => $private_key_1->id,
 | 
						|
        //     'project_id' => $project->id,
 | 
						|
        // ]);
 | 
						|
    }
 | 
						|
}
 |