fix - add purchase_policy to organization

This commit is contained in:
2025-12-30 12:39:39 +03:30
parent 0dbaa62a61
commit 79ad995be4
5 changed files with 67 additions and 15 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.0 on 2025-12-30 08:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('authentication', '0052_remove_organization_purchase_policy'),
]
operations = [
migrations.AddField(
model_name='organization',
name='purchase_policy',
field=models.CharField(choices=[('INTERNAL_ONLY', 'Internal Only'), ('CROSS_COOP', 'Cross Cooperative Allowed')], default='INTERNAL_ONLY', help_text='defines where ranchers can purchase from', max_length=20),
),
]

View File

@@ -0,0 +1,17 @@
# Generated by Django 5.0 on 2025-12-30 08:56
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0053_organization_purchase_policy'),
]
operations = [
migrations.RemoveField(
model_name='organization',
name='purchase_policy',
),
]

View File

@@ -0,0 +1,18 @@
# Generated by Django 5.0 on 2025-12-30 09:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('authentication', '0054_remove_organization_purchase_policy'),
]
operations = [
migrations.AddField(
model_name='organization',
name='purchase_policy',
field=models.CharField(choices=[('INTERNAL_ONLY', 'Internal Only'), ('CROSS_COOP', 'Cross Cooperative Allowed')], default='INTERNAL_ONLY', help_text='defines where ranchers can purchase from', max_length=20),
),
]