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
|
|
|
),
|
2023-06-11 21:22:36 +02:00
|
|
|
migrations.AddIndex(
|
|
|
|
model_name="userpresence",
|
|
|
|
index=models.Index(
|
|
|
|
fields=["realm", "timestamp"],
|
|
|
|
name="zerver_userpresence_realm_id_timestamp_25f410da_idx",
|
|
|
|
),
|
2020-02-08 21:36:25 +01:00
|
|
|
),
|
|
|
|
]
|