From 30bc3cbe9b382402ea144cdd46843647ff3f6ef4 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 14 Dec 2016 11:12:21 -0800 Subject: [PATCH] Make company ID nullable --- app/Models/License.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/License.php b/app/Models/License.php index 886e7c05fd..18e2708233 100755 --- a/app/Models/License.php +++ b/app/Models/License.php @@ -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()