Increase text fields length in several tables

This commit is contained in:
Frédéric Guillot
2018-04-11 12:03:38 -07:00
parent 8c5b9925c4
commit dd92564d22
38 changed files with 158 additions and 103 deletions

View File

@@ -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')),