migration file update
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 5.0 on 2025-01-11 13:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0005_categorymodel'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DollorModel',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('price', models.PositiveIntegerField()),
|
||||
('unique_filed', models.CharField(choices=[('unique', 'unique')], default='unique', max_length=20, unique=True)),
|
||||
],
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='productmodel',
|
||||
name='price',
|
||||
field=models.PositiveIntegerField(default=0, help_text='قیمت درهمی'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user