2020-02-08 21:36:25 +01:00
|
|
|
# Generated by Django 1.11.28 on 2020-02-08 20:34
|
|
|
|
import django.db.models.deletion
|
2020-06-11 00:54:34 +02:00
|
|
|
from django.db import migrations, models
|
2020-02-08 21:36:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-02-12 08:20:45 +01:00
|
|
|
("zerver", "0267_backfill_userpresence_realm_id"),
|
2020-02-08 21:36:25 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2021-02-12 08:20:45 +01:00
|
|
|
model_name="userpresence",
|
|
|
|
name="realm",
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="zerver.Realm"),
|
2020-02-08 21:36:25 +01:00
|
|
|
),
|
|
|
|
migrations.AlterIndexTogether(
|
2021-02-12 08:20:45 +01:00
|
|
|
name="userpresence",
|
|
|
|
index_together={("realm", "timestamp")},
|
2020-02-08 21:36:25 +01:00
|
|
|
),
|
|
|
|
]
|