From 55df11b4894602a292c2cfc647042fb9878e66dc Mon Sep 17 00:00:00 2001 From: ansabgillani Date: Wed, 27 Apr 2022 21:40:19 +0500 Subject: [PATCH] fix: remove sso history model --- .../0010_delete_historicalusersocialauth.py | 16 ++++++++++++++++ common/djangoapps/util/tests/test_db.py | 4 ---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 common/djangoapps/third_party_auth/migrations/0010_delete_historicalusersocialauth.py diff --git a/common/djangoapps/third_party_auth/migrations/0010_delete_historicalusersocialauth.py b/common/djangoapps/third_party_auth/migrations/0010_delete_historicalusersocialauth.py new file mode 100644 index 0000000000..b8e8cef6a1 --- /dev/null +++ b/common/djangoapps/third_party_auth/migrations/0010_delete_historicalusersocialauth.py @@ -0,0 +1,16 @@ +# Generated by Django 3.2.13 on 2022-04-27 16:39 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('third_party_auth', '0009_historicalusersocialauth'), + ] + + operations = [ + migrations.DeleteModel( + name='HistoricalUserSocialAuth', + ), + ] diff --git a/common/djangoapps/util/tests/test_db.py b/common/djangoapps/util/tests/test_db.py index bea01df633..4a16c2a20a 100644 --- a/common/djangoapps/util/tests/test_db.py +++ b/common/djangoapps/util/tests/test_db.py @@ -1,7 +1,6 @@ """Tests for util.db module.""" from io import StringIO -import unittest import ddt from django.core.management import call_command @@ -122,9 +121,6 @@ class MigrationTests(TestCase): """ @override_settings(MIGRATION_MODULES={}) - @unittest.skip( - "Temporary skip for https://openedx.atlassian.net/browse/PROD-2423 where a column is to be removed" - ) def test_migrations_are_in_sync(self): """ Tests that the migration files are in sync with the models.