feat!: Add migration to remove allow_certificate field from the user profile as the field is no longer used

DEPR-140 MICROBA-985
This commit is contained in:
Christie Rice
2021-04-28 09:54:10 -04:00
committed by nadeemshahzad
parent 1525b29ccb
commit 9809a7f7d1
2 changed files with 17 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
# Generated by Django 2.2.20 on 2021-04-28 13:52
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('student', '0042_allow_certificate_null_20210427_1519'),
]
operations = [
migrations.RemoveField(
model_name='userprofile',
name='allow_certificate',
),
]

View File

@@ -197,9 +197,6 @@ class MigrationTests(TestCase):
"""
@override_settings(MIGRATION_MODULES={})
@unittest.skip(
"Temporary skip for DEPR-140 / MICROBA-985 where the allow_certificate column is being removed"
)
def test_migrations_are_in_sync(self):
"""
Tests that the migration files are in sync with the models.