migration file update
This commit is contained in:
@@ -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='قیمت'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user