new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.6 on 2017-04-04 20:05
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('data_interfaces', '0006_case_rule_refactor'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='CaseRuleSubmission',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_on', models.DateTimeField(db_index=True)),
                  ('form_id', models.CharField(max_length=255)),
                  ('archived', models.BooleanField(default=False)),
                  ('rule', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='data_interfaces.AutomaticUpdateRule')),
              ],
          ),
          migrations.CreateModel(
              name='DomainCaseRuleRun',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('domain', models.CharField(max_length=126)),
                  ('started_on', models.DateTimeField(db_index=True)),
                  ('finished_on', models.DateTimeField(null=True)),
                  ('status', models.CharField(max_length=1)),
                  ('cases_checked', models.IntegerField(null=True)),
                  ('num_updates', models.IntegerField(null=True)),
                  ('num_closes', models.IntegerField(null=True)),
                  ('num_related_updates', models.IntegerField(null=True)),
                  ('num_related_closes', models.IntegerField(null=True)),
              ],
          ),
          migrations.AlterIndexTogether(
              name='domaincaserulerun',
              index_together=set([('domain', 'started_on')]),
          ),
          migrations.AlterIndexTogether(
              name='caserulesubmission',
              index_together=set([('rule', 'created_on')]),
          ),
      ]
  
subject: Add migration for logging models