diff --git a/app/Models/Company.php b/app/Models/Company.php index 17d26ade91..ce4ef4bf45 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -14,8 +14,7 @@ final class Company extends Model protected $table = 'companies'; // Declare the rules for the model validation - protected $rules = ['name' => 'required|min:2|max:255|unique:companies,name']; - + protected $rules = ['name' => 'required|min:1|max:255|unique:companies,name']; /** * Whether the model should inject it's identifier to the unique * validation rules before attempting validation. If this property