summaryrefslogtreecommitdiff
path: root/archaeological_context_records/migrations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-17 18:41:31 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-17 18:41:31 +0200
commit1bd278fb83d40fcc8f5392320a3238cdad5b8416 (patch)
tree25d09383fdd13f945513ffa7dc10f4340794bb23 /archaeological_context_records/migrations
parente3df0a079b7f377bbf302736a0fc3faeaac0cd34 (diff)
downloadIshtar-1bd278fb83d40fcc8f5392320a3238cdad5b8416.tar.bz2
Ishtar-1bd278fb83d40fcc8f5392320a3238cdad5b8416.zip
Json fields: change default and db index (refs #3077)
Diffstat (limited to 'archaeological_context_records/migrations')
-rw-r--r--archaeological_context_records/migrations/0012_auto_20171017_1840.py (renamed from archaeological_context_records/migrations/0012_auto_20171017_1730.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/migrations/0012_auto_20171017_1730.py b/archaeological_context_records/migrations/0012_auto_20171017_1840.py
index 49a3ee5f3..6de4abb0f 100644
--- a/archaeological_context_records/migrations/0012_auto_20171017_1730.py
+++ b/archaeological_context_records/migrations/0012_auto_20171017_1840.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Generated by Django 1.11 on 2017-10-17 17:30
+# Generated by Django 1.11 on 2017-10-17 18:40
from __future__ import unicode_literals
import django.contrib.postgres.fields.jsonb
@@ -16,11 +16,11 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='contextrecord',
name='data',
- field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True),
+ field=django.contrib.postgres.fields.jsonb.JSONField(db_index=True, default={}),
),
migrations.AddField(
model_name='historicalcontextrecord',
name='data',
- field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True),
+ field=django.contrib.postgres.fields.jsonb.JSONField(db_index=True, default={}),
),
]