Increase value length of DocumentMetadata
Wondering if it's possible to change 'value' property of DocumentMetadata from CharField to TextField. That would make metadata.value length free. I have documents where we would like to add a resume, and they usually takes more than 255 chars.
mayan/apps/metadata/models.py
class DocumentMetadata(models.Model):
......
- value = models.CharField(
- blank=True, db_index=True, max_length=255, null=True,
- verbose_name=_('Value')
- )
+ value = models.TextField(
+ blank=True, db_index=True, null=True,
+ verbose_name=_('Value')
+ )
I made some superficial tests with this setup and seems to be working.