ui(admin): fix egg creation
This commit is contained in:
parent
6f5fb09c13
commit
3721b2007b
9 changed files with 1224 additions and 1142 deletions
|
@ -78,6 +78,9 @@ class Egg extends Model
|
|||
* Fields that are not mass assignable.
|
||||
*/
|
||||
protected $fillable = [
|
||||
'nest_id',
|
||||
'author',
|
||||
'uuid',
|
||||
'name',
|
||||
'description',
|
||||
'features',
|
||||
|
|
|
@ -162,7 +162,7 @@ class Server extends Model
|
|||
'allocation_id' => 'required|bail|unique:servers|exists:allocations,id',
|
||||
'nest_id' => 'required|exists:nests,id',
|
||||
'egg_id' => 'required|exists:eggs,id',
|
||||
'startup' => 'required|string',
|
||||
'startup' => 'nullable|string',
|
||||
'skip_scripts' => 'sometimes|boolean',
|
||||
'image' => 'required|string|max:191',
|
||||
'database_limit' => 'present|nullable|integer|min:0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue