# Generated by Django 5.0.3 on 2025-07-23 06:01 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pxy_meta_pages', '0003_eventtype_facebookevent'), ] operations = [ migrations.CreateModel( name='BotInteraction', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.CharField(help_text='The Facebook post or comment ID that we commented on', max_length=100)), ('parent_object_id', models.CharField(blank=True, help_text='If this comment was on a share, the original post’s ID', max_length=100, null=True)), ('prompt', models.TextField(help_text='Exact prompt sent to OpenAI for this comment')), ('bot_response', models.TextField(help_text='The text that the bot actually posted')), ('platform', models.CharField(help_text="E.g. 'Facebook' or 'Facebook (Original Post)'", max_length=50)), ('created_at', models.DateTimeField(auto_now_add=True)), ('page', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='bot_interactions', to='pxy_meta_pages.facebookpageassistant')), ], ), ]