# Generated by Django 5.1.2 on 2024-12-12 14:34

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


class Migration(migrations.Migration):

    dependencies = [
        ('product', '0001_initial'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='commentmodel',
            name='comment',
        ),
        migrations.AddField(
            model_name='commentmodel',
            name='content',
            field=models.TextField(default='', verbose_name='محتوای نظر'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='commentmodel',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='product.product', verbose_name='محصول'),
        ),
        migrations.AlterField(
            model_name='commentmodel',
            name='show',
            field=models.BooleanField(default=True, verbose_name='نشان دادن کامنت'),
        ),
        migrations.AlterField(
            model_name='commentmodel',
            name='timestamp',
            field=models.DateTimeField(auto_now_add=True, verbose_name='زمان ثبت کامنت'),
        ),
    ]
