28 lines
798 B
Python
28 lines
798 B
Python
# Generated by Django 5.0.3 on 2025-01-28 18:34
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("pxy_openai", "0001_initial"),
|
|
("pxy_whatsapp", "0002_whatsappbot_webhook_verify_token_and_more"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="whatsappbot",
|
|
name="assistant",
|
|
field=models.ForeignKey(
|
|
default=1,
|
|
help_text="The OpenAI assistant associated with this WhatsApp bot.",
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="whatsapp_bots",
|
|
to="pxy_openai.openaiassistant",
|
|
),
|
|
preserve_default=False,
|
|
),
|
|
]
|