diff options
Diffstat (limited to 'archaeological_files/migrations')
-rw-r--r-- | archaeological_files/migrations/0106_auto_20210726_1230.py (renamed from archaeological_files/migrations/0106_auto_20210720_1203.py) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/archaeological_files/migrations/0106_auto_20210720_1203.py b/archaeological_files/migrations/0106_auto_20210726_1230.py index 86ff78ec6..5f3163cf9 100644 --- a/archaeological_files/migrations/0106_auto_20210720_1203.py +++ b/archaeological_files/migrations/0106_auto_20210726_1230.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Generated by Django 1.11.27 on 2021-07-20 12:03 +# Generated by Django 1.11.28 on 2021-07-26 12:30 from __future__ import unicode_literals import django.core.validators @@ -20,6 +20,7 @@ class Migration(migrations.Migration): name='EquipmentServiceCost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('slug', models.SlugField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=300, unique=True, verbose_name='Textual ID')), ('service_provider', models.CharField(blank=True, default='', max_length=200, verbose_name='Service provider')), ('flat_rate', models.BooleanField(default=False, verbose_name='Flat rate')), ('unitary_cost', models.FloatField(blank=True, null=True, verbose_name='Unitary cost')), @@ -232,13 +233,13 @@ class Migration(migrations.Migration): field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='archaeological_files.GenericEquipmentServiceType', verbose_name='Generic type'), ), migrations.AddField( - model_name='equipmentservicetype', - name='parent', - field=models.ForeignKey(blank=True, help_text='Auto-add this cost when a parent is added', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='archaeological_files.EquipmentServiceType', verbose_name='Parent'), - ), - migrations.AddField( model_name='equipmentservicecost', name='equipment_service_type', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='archaeological_files.EquipmentServiceType', verbose_name='Equipment/Service'), ), + migrations.AddField( + model_name='equipmentservicecost', + name='parent', + field=models.ForeignKey(blank=True, help_text='Auto-add this cost when a parent is added', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='archaeological_files.EquipmentServiceType', verbose_name='Parent'), + ), ] |