Skip to content

Commit

Permalink
change metadata options character length to 127
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tordoff committed Dec 12, 2023
1 parent bc76e9f commit 63d98d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.2.17 on 2023-12-07 14:07
# Generated by Django 3.2.17 on 2023-12-12 18:43

import django.contrib.postgres.fields
from django.db import migrations, models
Expand All @@ -24,11 +24,11 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='collectionsubmission',
name='data_type',
field=models.CharField(blank=True, help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium', max_length=500),
field=models.CharField(blank=True, help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium', max_length=127),
),
migrations.AddField(
model_name='collectionsubmission',
name='disease',
field=models.CharField(blank=True, help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium', max_length=500),
field=models.CharField(blank=True, help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium', max_length=127),
),
]
4 changes: 2 additions & 2 deletions osf/models/collection_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ class Meta:
disease = models.CharField(
help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium',
blank=True,
max_length=500
max_length=127
)
data_type = models.CharField(
help_text='This field was added for use by Inflammatory Bowel Disease Genetics Consortium',
blank=True,
max_length=500
max_length=127
)
machine_state = models.IntegerField(
choices=CollectionSubmissionStates.int_field_choices(),
Expand Down

0 comments on commit 63d98d6

Please sign in to comment.