# Generated by Django 5.2.7 on 2026-07-24 05:45

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('catalog_app', '0027_restore_inventory_margin_fields'),
    ]

    operations = [
        migrations.AddField(
            model_name='book',
            name='old_price',
            field=models.DecimalField(blank=True, decimal_places=2, help_text='Set to show a strikethrough sale price (must be higher than price).', max_digits=10, null=True),
        ),
        migrations.AddField(
            model_name='book',
            name='rating',
            field=models.DecimalField(blank=True, decimal_places=1, help_text='Average rating out of 5, e.g. 4.6.', max_digits=2, null=True),
        ),
        migrations.AddField(
            model_name='book',
            name='review_count',
            field=models.PositiveIntegerField(default=0, help_text='Number of reviews backing the rating.'),
        ),
    ]
