diff --git a/app/Http/Controllers/Apis/Protected/Summit/Factories/ExtraQuestionTypeValueValidationRulesFactory.php b/app/Http/Controllers/Apis/Protected/Summit/Factories/ExtraQuestionTypeValueValidationRulesFactory.php index 06dd2c9a..b210c3b5 100644 --- a/app/Http/Controllers/Apis/Protected/Summit/Factories/ExtraQuestionTypeValueValidationRulesFactory.php +++ b/app/Http/Controllers/Apis/Protected/Summit/Factories/ExtraQuestionTypeValueValidationRulesFactory.php @@ -29,14 +29,14 @@ final class ExtraQuestionTypeValueValidationRulesFactory if($update){ return [ 'label' => 'sometimes|string|max:255', - 'value' => 'sometimes|string|max:255', + 'value' => 'sometimes|string', 'order' => 'sometimes|integer|min:1' ]; } return [ 'label' => 'sometimes|string|max:255', - 'value' => 'required|string|max:255', + 'value' => 'required|string', ]; } } \ No newline at end of file diff --git a/database/migrations/model/Version20210603182544.php b/database/migrations/model/Version20210603182544.php new file mode 100644 index 00000000..5185b835 --- /dev/null +++ b/database/migrations/model/Version20210603182544.php @@ -0,0 +1,41 @@ +addSql($sql); + } + + /** + * @param Schema $schema + */ + public function down(Schema $schema):void + { + + } +}