# Generated by Django 5.0.3 on 2025-01-28 21:47

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        (
            "pxy_bots",
            "0002_alter_telegrambot_is_active_alter_telegrambot_name_and_more",
        ),
        ("pxy_openai", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="telegrambot",
            name="assistant",
            field=models.ForeignKey(
                default=1,
                help_text="The OpenAI assistant associated with this Telegram bot.",
                on_delete=django.db.models.deletion.CASCADE,
                related_name="telegram_bots",
                to="pxy_openai.openaiassistant",
            ),
            preserve_default=False,
        ),
    ]
