From 99392d78cdf5224fdedcfd8775ab1518307d9f96 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 17 Oct 2017 17:31:09 +0200 Subject: JSON: add JSON fields to manage dynamic data schema - add table to administrate display of theses fields (refs #3077) --- .../migrations/0012_auto_20171017_1730.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 archaeological_context_records/migrations/0012_auto_20171017_1730.py (limited to 'archaeological_context_records/migrations') diff --git a/archaeological_context_records/migrations/0012_auto_20171017_1730.py b/archaeological_context_records/migrations/0012_auto_20171017_1730.py new file mode 100644 index 000000000..49a3ee5f3 --- /dev/null +++ b/archaeological_context_records/migrations/0012_auto_20171017_1730.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11 on 2017-10-17 17:30 +from __future__ import unicode_literals + +import django.contrib.postgres.fields.jsonb +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_context_records', '0011_auto_20171012_1316'), + ] + + operations = [ + migrations.AddField( + model_name='contextrecord', + name='data', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True), + ), + migrations.AddField( + model_name='historicalcontextrecord', + name='data', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True), + ), + ] -- cgit v1.2.3