Move notes for attachments to different object. This sacrifices the original notes.

This commit is contained in:
James Cole
2018-03-19 15:28:35 +01:00
parent 6a1d39d5f8
commit 909f72e6be
9 changed files with 144 additions and 31 deletions

View File

@@ -44,7 +44,6 @@ class AttachmentFormRequest extends Request
{
return [
'title' => $this->string('title'),
'description' => $this->string('description'),
'notes' => $this->string('notes'),
];
}
@@ -57,7 +56,6 @@ class AttachmentFormRequest extends Request
// fixed
return [
'title' => 'between:1,255|nullable',
'description' => 'between:1,65536|nullable',
'notes' => 'between:1,65536|nullable',
];
}