migration file update

This commit is contained in:
Parsa Nazer
2025-01-11 19:52:28 +03:30
parent f3a56fa8ee
commit 2ad4b98941
@@ -0,0 +1,24 @@
# Generated by Django 5.0 on 2025-01-11 14:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('product', '0007_alter_dollormodel_price'),
]
operations = [
migrations.AddField(
model_name='productmodel',
name='currency',
field=models.CharField(choices=[('dollor', 'دلار'), ('toman', 'تومان'), ('derham', 'درهم')], default='toman', max_length=20, verbose_name='نوع ارز'),
preserve_default=False,
),
migrations.AlterField(
model_name='productmodel',
name='price',
field=models.PositiveIntegerField(default=0, help_text='قیمت'),
),
]