diff options
Diffstat (limited to 'ishtar_common/migrations/0259_ishtarsiteprofile_default_location_for_treatment.py')
-rw-r--r-- | ishtar_common/migrations/0259_ishtarsiteprofile_default_location_for_treatment.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0259_ishtarsiteprofile_default_location_for_treatment.py b/ishtar_common/migrations/0259_ishtarsiteprofile_default_location_for_treatment.py new file mode 100644 index 000000000..7baf9eada --- /dev/null +++ b/ishtar_common/migrations/0259_ishtarsiteprofile_default_location_for_treatment.py @@ -0,0 +1,20 @@ +# Generated by Django 2.2.24 on 2024-11-28 15:44 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_warehouse', '0123_warehouse_container_ishtar_users'), + ('ishtar_common', '0258_rename_perm_query'), + ] + + operations = [ + migrations.AddField( + model_name='ishtarsiteprofile', + name='default_location_for_treatment', + field=models.ForeignKey(blank=True, help_text='If provided treatment forms have by default a location provided.', null=True, on_delete=django.db.models.deletion.SET_NULL, to='archaeological_warehouse.Warehouse', verbose_name='Default location for treatments'), + ), + ] |