zulip/zerver/migrations/0542_onboardingusermessage.py

39 lines
1.1 KiB
Python

# Generated by Django 5.0.6 on 2024-06-27 06:03
import bitfield.models
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0541_alter_realmauditlog_options"),
]
operations = [
migrations.CreateModel(
name="OnboardingUserMessage",
fields=[
(
"id",
models.BigAutoField(
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
),
),
("flags", bitfield.models.BitField(["read", "historical", "starred"], default=0)),
(
"message",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="zerver.message"
),
),
(
"realm",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="zerver.realm"
),
),
],
),
]