diff --git a/backend/api/migrations/0010_auto_20241209_1505.py b/backend/api/migrations/0010_auto_20241209_1505.py new file mode 100644 index 000000000..0872f35c3 --- /dev/null +++ b/backend/api/migrations/0010_auto_20241209_1505.py @@ -0,0 +1,19 @@ +# Generated by Django 3.2.25 on 2024-12-09 23:05 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0009_auto_20241003_1425'), + ] + + operations = [ + migrations.AlterField( + model_name='modelyearreportassessmentcomment', + name='comment', + field=models.TextField(blank=True, db_column='assessment_comment', null=True), + ), + ] diff --git a/backend/api/models/model_year_report_assessment_comment.py b/backend/api/models/model_year_report_assessment_comment.py index 9cf34e11a..f0cd1ef8a 100644 --- a/backend/api/models/model_year_report_assessment_comment.py +++ b/backend/api/models/model_year_report_assessment_comment.py @@ -20,8 +20,7 @@ class ModelYearReportAssessmentComment(Auditable): default=False, db_comment="determines if comment is meant for director" ) - comment = models.CharField( - max_length=4000, + comment = models.TextField( blank=True, null=True, db_column='assessment_comment',