diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-11 19:23:51 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-11 19:23:51 +0100 |
commit | f3294fc59af4bdaadab8f04dcf7df89ef1c317fb (patch) | |
tree | f5d133b3456888ccd805fdf5c50b880acab3e502 /archaeological_context_records/migrations | |
parent | 0801fd75242e769ec856f4e7e94ee57b1dc945d2 (diff) | |
download | Ishtar-f3294fc59af4bdaadab8f04dcf7df89ef1c317fb.tar.bz2 Ishtar-f3294fc59af4bdaadab8f04dcf7df89ef1c317fb.zip |
Use JSON for M2M history
Diffstat (limited to 'archaeological_context_records/migrations')
-rw-r--r-- | archaeological_context_records/migrations/0036_auto_20190111_1755.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/archaeological_context_records/migrations/0036_auto_20190111_1755.py b/archaeological_context_records/migrations/0036_auto_20190111_1755.py new file mode 100644 index 000000000..0bd4cb182 --- /dev/null +++ b/archaeological_context_records/migrations/0036_auto_20190111_1755.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.10 on 2019-01-11 17:55 +from __future__ import unicode_literals + +import django.contrib.postgres.fields.jsonb +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_context_records', '0035_migrate_main_image'), + ] + + operations = [ + migrations.AddField( + model_name='contextrecord', + name='history_m2m', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={}), + ), + migrations.AddField( + model_name='historicalcontextrecord', + name='history_m2m', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, default={}), + ), + ] |