# Generated by Django 5.2.11 on 2026-02-28 11:42 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Comment', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('author_name', models.CharField(max_length=100)), ('author_email', models.EmailField(max_length=254)), ('body', models.TextField(max_length=2000)), ('is_approved', models.BooleanField(default=False)), ('created_at', models.DateTimeField(auto_now_add=True)), ('ip_address', models.GenericIPAddressField(blank=True, null=True)), ('article', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='blog.articlepage')), ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='replies', to='comments.comment')), ], ), ]