From af04b1ecfc22f8c104f6f960c26086c4284e9777 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Jan 2023 11:46:57 +0100 Subject: Warehouse: new slug field to prevent ID change when name is changed --- ishtar_common/migrations/0223_auto_20230120_1124.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ishtar_common/migrations/0223_auto_20230120_1124.py (limited to 'ishtar_common/migrations') diff --git a/ishtar_common/migrations/0223_auto_20230120_1124.py b/ishtar_common/migrations/0223_auto_20230120_1124.py new file mode 100644 index 000000000..a4fe554de --- /dev/null +++ b/ishtar_common/migrations/0223_auto_20230120_1124.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.24 on 2023-01-20 11:24 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ishtar_common', '0222_auto_20230111_1857'), + ] + + operations = [ + migrations.AlterField( + model_name='ishtarsiteprofile', + name='warehouse_external_id', + field=models.TextField(default='{slug}', help_text='Formula to manage warehouse external ID. Change this with care. With incorrect formula, the application might be unusable and import of external data can be destructive.', verbose_name='Warehouse external id'), + ), + ] -- cgit v1.2.3