<filename>custom/icds_reports/migrations/0143_add_ucrreconciliationstatus_squashed.py<gh_stars>1-10
# -*- coding: utf-8 -*-
# Generated by Django 1.11.22 on 2019-11-04 15:54
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('icds_reports', '0142_gm_column_agg_awc'),
    ]

    operations = [
        migrations.CreateModel(
            name='UcrReconciliationStatus',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('day', models.DateField()),
                ('table_id', models.TextField()),
                ('doc_type', models.TextField(choices=[('CommCareCase', 'XFormInstance'), ('XFormInstance', 'XFormInstance')])),
                ('doc_type_filter', models.TextField(help_text='Either an XMLNS or case type')),
                ('last_processed_date', models.DateTimeField(null=True)),
                ('verified_date', models.DateTimeField(null=True)),
                ('db_alias', models.CharField(max_length=10)),
                ('documents_missing', models.IntegerField(null=True)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='ucrreconciliationstatus',
            unique_together=set([('db_alias', 'day', 'table_id', 'doc_type_filter')]),
        ),
    ]

<filename>custom/icds_reports/migrations/0143_add_ucrreconciliationstatus_squashed.py<gh_stars>1-10
# -*- coding: utf-8 -*-
# Generated by Django 1.11.22 on 2019-11-04 15:54
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('icds_reports', '0142_gm_column_agg_awc'),
    ]

    operations = [
        migrations.CreateModel(
            name='UcrReconciliationStatus',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('day', models.DateField()),
                ('table_id', models.TextField()),
                ('doc_type', models.TextField(choices=[('CommCareCase', 'XFormInstance'), ('XFormInstance', 'XFormInstance')])),
                ('doc_type_filter', models.TextField(help_text='Either an XMLNS or case type')),
                ('last_processed_date', models.DateTimeField(null=True)),
                ('verified_date', models.DateTimeField(null=True)),
                ('db_alias', models.CharField(max_length=10)),
                ('documents_missing', models.IntegerField(null=True)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='ucrreconciliationstatus',
            unique_together=set([('db_alias', 'day', 'table_id', 'doc_type_filter')]),
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-11-04 15:54