text: # Copyright The IETF Trust 2019-2020, All Rights Reserved
  # -*- coding: utf-8 -*-
  # Generated by Django 1.11.20 on 2019-05-21 14:23
  
  
  from django.db import migrations, models
  import django.db.models.deletion
  import ietf.utils.models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('community', '0002_auto_20180220_1052'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='CommunityListDocs',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('communitylist', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='community.CommunityList')),
                  ('document', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='doc.Document', to_field=b'id')),
              ],
          ),
          migrations.AddField(
              model_name='communitylist',
              name='added_docs2',
              field=models.ManyToManyField(related_name='communitylists', through='community.CommunityListDocs', to='doc.Document'),
          ),
          migrations.CreateModel(
              name='SearchRuleDocs',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('document', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='doc.Document', to_field=b'id')),
                  ('searchrule', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='community.SearchRule')),
              ],
          ),
          migrations.AddField(
              model_name='searchrule',
              name='name_contains_index2',
              field=models.ManyToManyField(related_name='searchrules', through='community.SearchRuleDocs', to='doc.Document'),
          ),
      ]
  