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:
committed by
nadeemshahzad
parent
1525b29ccb
commit
9809a7f7d1
@@ -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',
|
||||
),
|
||||
]
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user