Files
zulip/zerver/migrations/0312_subscription_is_user_active.py
Mateusz Mandera f329878376 migrations: Subscription.is_user_active denormalization - step one.
This adds the is_user_active with the appropriate code for setting the
value correctly in the future. In the following commit a migration to
backfill the value for existing Subscriptions will be added.

To ensure correct user_profile.is_active handling also in tests, we
replace all direct .is_active mutation with calls to appropriate
functions.
2021-03-30 09:19:03 -07:00

19 lines
402 B
Python

# Generated by Django 3.1.5 on 2021-01-31 15:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0311_userprofile_default_view"),
]
operations = [
migrations.AddField(
model_name="subscription",
name="is_user_active",
field=models.BooleanField(null=True),
),
]