mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Make company ID nullable
This commit is contained in:
parent
030207d626
commit
30bc3cbe9b
|
@ -23,12 +23,12 @@ class License extends Depreciable
|
|||
protected $table = 'licenses';
|
||||
protected $rules = array(
|
||||
'name' => 'required|string|min:3|max:255',
|
||||
'seats' => 'required|min:1|max:10000|integer',
|
||||
'seats' => 'required|min:1|max:1000000|integer',
|
||||
'license_email' => 'email|min:0|max:120',
|
||||
'license_name' => 'string|min:0|max:100',
|
||||
'note' => 'string',
|
||||
'notes' => 'string|min:0',
|
||||
'company_id' => 'integer',
|
||||
'company_id' => 'integer|nullable',
|
||||
);
|
||||
|
||||
public function company()
|
||||
|
|
Loading…
Reference in a new issue