diff --git a/app/Http/Requests/ValidateRepositoryRequest.php b/app/Http/Requests/ValidateRepositoryRequest.php index f7a143b01..cee4f8f9f 100644 --- a/app/Http/Requests/ValidateRepositoryRequest.php +++ b/app/Http/Requests/ValidateRepositoryRequest.php @@ -18,7 +18,7 @@ public function rules() return [ 'description' => 'required|max:50', 'name' => 'required|max:50', - // 'type_id' => 'required|max:20', + // 'type_id' => 'required|max:20', 'date' => 'required|max:24', 'is_active' => 'boolean', ]; diff --git a/database/factories/RepositoryFactory.php b/database/factories/RepositoryFactory.php index 57cbb3627..f06685625 100644 --- a/database/factories/RepositoryFactory.php +++ b/database/factories/RepositoryFactory.php @@ -42,11 +42,11 @@ public function definition() 'www' => $this->faker->url(), 'name' => $this->faker->name(), 'description' => $this->faker->text(50), - // 'type_id' => Type::create([ - // 'name' => $this->faker->word(), - // 'description' => $this->faker->text(50), - // 'is_active' => $this->faker->randomDigit('0', '1'), - // ])->id, + // 'type_id' => Type::create([ + // 'name' => $this->faker->word(), + // 'description' => $this->faker->text(50), + // 'is_active' => $this->faker->randomDigit('0', '1'), + // ])->id, 'is_active' => $this->faker->randomDigit('0', '1'), ]; }