Compare commits

..

No commits in common. "0419aebe18d4eb14efaf525467d4c310b0e16aaa" and "90fffa027922c43a1629c18fc5dc5f268e7f9ac2" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class StoreDocumentRequest extends FormRequest
{ {
return [ return [
'name' => 'required|string|max:255', 'name' => 'required|string|max:255',
'description' => 'string|nullable', 'description' => 'string',
'position' => 'required|int|numeric|max:255', 'position' => 'required|int|numeric|max:255',
'document' => 'required|file', 'document' => 'required|file',
'admission_id' => 'required|int|numeric|max:1000', 'admission_id' => 'required|int|numeric|max:1000',

View File

@ -21,7 +21,7 @@ class UpdateDocumentRequest extends FormRequest
"unique:documents,name,{$this->document->id}", "unique:documents,name,{$this->document->id}",
], ],
'position' => 'required|int|numeric|max:255', 'position' => 'required|int|numeric|max:255',
'description' => 'string|nullable', 'description' => 'string',
'admission_id' => 'required|int|numeric|max:1000', 'admission_id' => 'required|int|numeric|max:1000',
]; ];
} }