From adda663c4739fecd2590e5b57995ca25b31dc78a Mon Sep 17 00:00:00 2001 From: Mojtaba-z Date: Tue, 30 Dec 2025 12:17:06 +0330 Subject: [PATCH] migrate purchase_policy --- .../0051_organization_purchase_policy.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/authentication/migrations/0051_organization_purchase_policy.py diff --git a/apps/authentication/migrations/0051_organization_purchase_policy.py b/apps/authentication/migrations/0051_organization_purchase_policy.py new file mode 100644 index 0000000..d9b23e2 --- /dev/null +++ b/apps/authentication/migrations/0051_organization_purchase_policy.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0 on 2025-12-30 08:45 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('authentication', '0050_organization_service_area'), + ] + + 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), + ), + ]