fix quota group to array
This commit is contained in:
17
apps/product/migrations/0068_remove_quota_group.py
Normal file
17
apps/product/migrations/0068_remove_quota_group.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.0 on 2025-08-06 05:48
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0067_broker_organization_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='quota',
|
||||
name='group',
|
||||
),
|
||||
]
|
||||
19
apps/product/migrations/0069_quota_group.py
Normal file
19
apps/product/migrations/0069_quota_group.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 5.0 on 2025-08-06 05:52
|
||||
|
||||
import django.contrib.postgres.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0068_remove_quota_group'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='quota',
|
||||
name='group',
|
||||
field=django.contrib.postgres.fields.ArrayField(base_field=models.CharField(choices=[('rural', 'روستایی'), ('industrial', 'صنعتی'), ('nomadic', 'عشایری')], max_length=50), null=True, size=None),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user