diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-07 16:37:55 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:01 +0100 |
commit | a80d3fc9e5303558419e9c97ccd335a0ac46fbe1 (patch) | |
tree | 880014b310dec778c2ab2f0086b10d3f1216b65c /archaeological_files/migrations/0108_auto_20220707_1633.py | |
parent | 59f97318687a19a8623261aff0bc875ca99c5c7c (diff) | |
download | Ishtar-a80d3fc9e5303558419e9c97ccd335a0ac46fbe1.tar.bz2 Ishtar-a80d3fc9e5303558419e9c97ccd335a0ac46fbe1.zip |
Fix migrations and imports
Diffstat (limited to 'archaeological_files/migrations/0108_auto_20220707_1633.py')
-rw-r--r-- | archaeological_files/migrations/0108_auto_20220707_1633.py | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/archaeological_files/migrations/0108_auto_20220707_1633.py b/archaeological_files/migrations/0108_auto_20220707_1633.py new file mode 100644 index 000000000..fe50e8fed --- /dev/null +++ b/archaeological_files/migrations/0108_auto_20220707_1633.py @@ -0,0 +1,54 @@ +# Generated by Django 2.2.24 on 2022-07-07 16:33 + +import django.contrib.postgres.fields.jsonb +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_files', '0107_auto_20220705_1612'), + ] + + operations = [ + migrations.AlterModelOptions( + name='priceagreement', + options={'ordering': ('order', 'start_date', 'end_date', 'label'), 'verbose_name': 'Price agreement', 'verbose_name_plural': 'Price agreement'}, + ), + migrations.AlterField( + model_name='equipmentservicecost', + name='unit', + field=models.CharField(blank=True, choices=[('D', 'days'), ('W', 'weeks'), ('M', 'months'), ('L', 'linear m.')], max_length=1, null=True, verbose_name='Unit'), + ), + migrations.AlterField( + model_name='file', + name='data', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=dict), + ), + migrations.AlterField( + model_name='file', + name='file_type', + field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='archaeological_files.FileType', verbose_name='File type'), + ), + migrations.AlterField( + model_name='file', + name='history_m2m', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=dict), + ), + migrations.AlterField( + model_name='historicalfile', + name='data', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=dict), + ), + migrations.AlterField( + model_name='historicalfile', + name='history_m2m', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default=dict), + ), + migrations.AlterField( + model_name='job', + name='child', + field=models.ForeignKey(blank=True, help_text='Auto-add this job when a parent is added', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='parents', to='archaeological_files.Job', verbose_name='Child'), + ), + ] |