Drop notes tables.
This commit is contained in:
@@ -223,7 +223,6 @@ class MigrationTests(TestCase):
|
||||
Tests for migrations.
|
||||
"""
|
||||
|
||||
@unittest.skip("Migration will delete the Note model. Need to ship not referencing it first. DEPR-18.")
|
||||
@override_settings(MIGRATION_MODULES={})
|
||||
def test_migrations_are_in_sync(self):
|
||||
"""
|
||||
|
||||
22
lms/djangoapps/notes/migrations/0002_remove_tables.py
Normal file
22
lms/djangoapps/notes/migrations/0002_remove_tables.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.25 on 2019-10-01 18:23
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('notes', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='note',
|
||||
name='user',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='Note',
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user