model: Remove user_profile.muted_topics.

(We now track muted topics in the MutedTopic model.
This commit is contained in:
Steve Howell
2017-08-30 17:13:38 -07:00
committed by showell
parent 4ac6bc46c7
commit 0721115c64
2 changed files with 19 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-08-31 00:13
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('zerver', '0102_convert_muted_topic'),
]
operations = [
migrations.RemoveField(
model_name='userprofile',
name='muted_topics',
),
]

View File

@@ -666,10 +666,6 @@ class UserProfile(ModelReprMixin, AbstractBaseUser, PermissionsMixin):
alert_words = models.TextField(default=u'[]') # type: Text # json-serialized list of strings
# Contains serialized JSON of the form:
# [["social", "mit"], ["devel", "ios"]]
muted_topics = models.TextField(default=u'[]') # type: Text
objects = UserManager() # type: UserManager
DEFAULT_UPLOADS_QUOTA = 1024*1024*1024