diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-02-14 14:44:10 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | 5ecc278a4beded9d64b02744c8b80f39c8c04e19 (patch) | |
tree | 3787c9f7d0ea6e05ffcce26552bd17f55b78d6de /archaeological_files/migrations | |
parent | 39551b72a41b5ad00f8d200db2b49e4f3e02515f (diff) | |
download | Ishtar-5ecc278a4beded9d64b02744c8b80f39c8c04e19.tar.bz2 Ishtar-5ecc278a4beded9d64b02744c8b80f39c8c04e19.zip |
Geodata redesign: model adaptation - admin
Diffstat (limited to 'archaeological_files/migrations')
-rw-r--r-- | archaeological_files/migrations/0107_auto_20220211_1630.py | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/archaeological_files/migrations/0107_auto_20220211_1630.py b/archaeological_files/migrations/0107_auto_20220211_1630.py new file mode 100644 index 000000000..b5bcaebf1 --- /dev/null +++ b/archaeological_files/migrations/0107_auto_20220211_1630.py @@ -0,0 +1,45 @@ +# Generated by Django 2.2.24 on 2022-02-11 16:30 + +import django.contrib.postgres.fields.jsonb +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_files', '0106_auto_20210803_1730'), + ] + + operations = [ + 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'), + ), + ] |