Skip to content
Snippets Groups Projects
Commit 80eb6396 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

max custom field name should be longer

parent ba99524e
No related branches found
No related tags found
1 merge request!287Resolve "clean initial database"
# Generated by Django 3.1.3 on 2020-12-07 09:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('web', '0191_auto_20201201_1033'),
]
operations = [
migrations.AlterField(
model_name='customstudysubjectfield',
name='name',
field=models.CharField(max_length=64),
),
]
......@@ -6,7 +6,7 @@ from web.models.constants import CUSTOM_FIELD_TYPE
class CustomStudySubjectField(models.Model):
name = models.CharField(max_length=20, null=False, blank=False)
name = models.CharField(max_length=64, null=False, blank=False)
type = models.CharField(max_length=20, choices=CUSTOM_FIELD_TYPE, null=False, blank=False)
possible_values = models.CharField(max_length=1024, null=True, blank=True, default='')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment