diff --git a/indicators/migrations/0018_auto_20190124_0624.py b/indicators/migrations/0018_auto_20190124_0624.py new file mode 100644 index 000000000..4cc144d44 --- /dev/null +++ b/indicators/migrations/0018_auto_20190124_0624.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.17 on 2019-01-24 14:24 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('indicators', '0017_auto_20190118_0601'), + ] + + operations = [ + migrations.AddField( + model_name='disaggregationvalue', + name='column_name', + field=models.CharField(blank=True, max_length=24), + ), + migrations.AddField( + model_name='disaggregationvalue', + name='column_value', + field=models.CharField(blank=True, max_length=24), + ), + migrations.AddField( + model_name='disaggregationvalue', + name='table_uuid', + field=models.CharField(blank=True, max_length=36), + ), + ] diff --git a/indicators/models.py b/indicators/models.py index 612171e2a..5e300ca79 100755 --- a/indicators/models.py +++ b/indicators/models.py @@ -215,6 +215,9 @@ class DisaggregationValue(models.Model): disaggregation_label = models.ForeignKey(DisaggregationLabel, on_delete=models.deletion.PROTECT) indicator = models.ForeignKey('indicators.Indicator', null=True, blank=True) value = models.CharField(max_length=765, blank=True) + table_uuid = models.CharField(max_length=36, blank=True) + column_name = models.CharField(max_length=24, blank=True) + column_value = models.CharField(max_length=24, blank=True) create_date = models.DateTimeField(null=True, blank=True) edit_date = models.DateTimeField(null=True, blank=True)