Skip to content

Commit

Permalink
-updates assessment Comment model to allow for longer comment lengths…
Browse files Browse the repository at this point in the history
… (textField) (#2374)
  • Loading branch information
emi-hi authored Jan 2, 2025
1 parent 55f373a commit d8a36d2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions backend/api/migrations/0010_auto_20241209_1505.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
3 changes: 1 addition & 2 deletions backend/api/models/model_year_report_assessment_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d8a36d2

Please sign in to comment.