diff --git a/backend/accounts/migrations/0006_alter_major_name.py b/backend/accounts/migrations/0006_alter_major_name.py new file mode 100644 index 0000000..b75fd59 --- /dev/null +++ b/backend/accounts/migrations/0006_alter_major_name.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.7 on 2023-11-05 06:03 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("accounts", "0005_privacyresource_privacysetting"), + ] + + operations = [ + migrations.AlterField( + model_name="major", + name="name", + field=models.CharField(max_length=150), + ), + ] diff --git a/backend/accounts/models.py b/backend/accounts/models.py index e403224..9dfbec9 100644 --- a/backend/accounts/models.py +++ b/backend/accounts/models.py @@ -35,7 +35,7 @@ class Major(models.Model): Represents a major at the University of Pennsylvania. """ - name = models.CharField(max_length=100) + name = models.CharField(max_length=150) is_active = models.BooleanField(default=True) DEGREE_BACHELOR = "BACHELORS"