Add projects, environments, applications, databases
This commit is contained in:
13
app/Models/Project.php
Normal file
13
app/Models/Project.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class Project extends BaseModel
|
||||
{
|
||||
public function environments() {
|
||||
return $this->hasMany(Environment::class);
|
||||
}
|
||||
public function settings() {
|
||||
return $this->hasOne(ProjectSetting::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user