revert: Removing save_far_later models (#32712)

This is the second phase of removing save_for_later app in which migrations would be run to drop the DB tables.

VAN-1451
This commit is contained in:
Mubbshar Anwar
2023-07-18 17:07:28 +05:00
committed by GitHub
parent 2e2687ad38
commit 6562fad7df
2 changed files with 19 additions and 2 deletions

View File

@@ -3,7 +3,6 @@
from io import StringIO
import ddt
import unittest
from django.core.management import call_command
from django.db.transaction import TransactionManagementError, atomic
from django.test import TestCase, TransactionTestCase
@@ -121,7 +120,6 @@ class MigrationTests(TestCase):
Tests for migrations.
"""
@unittest.skip("Migration will delete several models. Need to skip not referencing it first.")
@override_settings(MIGRATION_MODULES={})
def test_migrations_are_in_sync(self):
"""

View File

@@ -0,0 +1,19 @@
# Generated by Django 3.2.20 on 2023-07-11 14:31
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('save_for_later', '0002_auto_20220322_1621'),
]
operations = [
migrations.DeleteModel(
name='SavedCourse',
),
migrations.DeleteModel(
name='SavedProgram',
),
]