Skip to content

Update migrations#1008

Open
RemyKap wants to merge 6 commits intomasterfrom
migration-update
Open

Update migrations#1008
RemyKap wants to merge 6 commits intomasterfrom
migration-update

Conversation

@RemyKap
Copy link

@RemyKap RemyKap commented Feb 25, 2026

Update migrations as well as two bug fixes.

Bug 1: requiring annual migrations to change the limits on class year
Bug 2: running manage.py test with a MySQL database would fail to create the test database due to incorrect migrations

migrations.AlterField(
model_name='user',
name='class_year',
field=models.PositiveIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(1962), django.core.validators.MaxValueValidator(2032)]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does this still say 2032?

@coveralls
Copy link

coveralls commented Feb 27, 2026

Coverage Status

coverage: 91.068% (+0.003%) from 91.065%
when pulling eb01de1 on migration-update
into e9f7fed on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants