From dd92564d221f35fc4fc7bb449c6d24cc4743247b Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 11 Apr 2018 12:03:38 -0700 Subject: Increase text fields length in several tables --- app/Validator/TaskValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Validator/TaskValidator.php') diff --git a/app/Validator/TaskValidator.php b/app/Validator/TaskValidator.php index 2bf148f4..7f905b2d 100644 --- a/app/Validator/TaskValidator.php +++ b/app/Validator/TaskValidator.php @@ -40,8 +40,8 @@ class TaskValidator extends BaseValidator new Validators\Integer('recurrence_trigger', t('This value must be an integer')), new Validators\Integer('recurrence_status', t('This value must be an integer')), new Validators\Integer('priority', t('This value must be an integer')), - new Validators\MaxLength('title', t('The maximum length is %d characters', 200), 200), - new Validators\MaxLength('reference', t('The maximum length is %d characters', 50), 50), + new Validators\MaxLength('title', t('The maximum length is %d characters', 65535), 65535), + new Validators\MaxLength('reference', t('The maximum length is %d characters', 255), 255), new Validators\Date('date_due', t('Invalid date'), $this->dateParser->getParserFormats()), new Validators\Date('date_started', t('Invalid date'), $this->dateParser->getParserFormats()), new Validators\Numeric('time_spent', t('This value must be numeric')), -- cgit v1.2.3