# Generated by Django 5.0.3 on 2025-01-29 02:08

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


class Migration(migrations.Migration):

    dependencies = [
        ("contenttypes", "0002_remove_content_type_name"),
        ("pxy_bots", "0003_telegrambot_assistant"),
    ]

    operations = [
        migrations.RemoveField(
            model_name="telegrambot",
            name="assistant",
        ),
        migrations.AddField(
            model_name="telegrambot",
            name="assistant_id",
            field=models.PositiveIntegerField(
                default=1, help_text="The ID of the associated assistant."
            ),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name="telegrambot",
            name="assistant_type",
            field=models.ForeignKey(
                default=1,
                help_text="The assistant model type.",
                on_delete=django.db.models.deletion.CASCADE,
                to="contenttypes.contenttype",
            ),
            preserve_default=False,
        ),
    ]
