Add GitHub, GitLab, DeployKeys
This commit is contained in:
		
							
								
								
									
										11
									
								
								app/Models/GithubApp.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/Models/GithubApp.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class GithubApp extends BaseModel
 | 
			
		||||
{
 | 
			
		||||
    public function applications()
 | 
			
		||||
    {
 | 
			
		||||
        return $this->morphMany(Application::class, 'source');
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user