Merge pull request #27457 from edx/crice/migration

feat!: Add migration to remove allow_certificate field
This commit is contained in:
Nadeem Shahzad
2021-05-20 08:31:33 +05:00
committed by GitHub
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.