|
@@ -13,8 +13,9 @@ class Application extends Model
|
|
'username',
|
|
'username',
|
|
'password',
|
|
'password',
|
|
'dbpass',
|
|
'dbpass',
|
|
|
|
+ 'domain',
|
|
'basepath',
|
|
'basepath',
|
|
- 'ngnix',
|
|
|
|
|
|
+ 'php',
|
|
'appcode',
|
|
'appcode',
|
|
];
|
|
];
|
|
|
|
|
|
@@ -22,8 +23,8 @@ class Application extends Model
|
|
return $this->belongsTo(Server::class, 'server_id');
|
|
return $this->belongsTo(Server::class, 'server_id');
|
|
}
|
|
}
|
|
|
|
|
|
- public function domains() {
|
|
|
|
- return $this->hasMany(Domain::class);
|
|
|
|
|
|
+ public function aliases() {
|
|
|
|
+ return $this->hasMany(Alias::class);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|