|
| 1 | +# Copyright The IETF Trust 2019, All Rights Reserved |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | +# Generated by Django 1.11.20 on 2019-05-21 14:23 |
| 4 | +from __future__ import unicode_literals |
| 5 | + |
| 6 | +from django.db import migrations, models |
| 7 | +import django.db.models.deletion |
| 8 | +import ietf.utils.models |
| 9 | + |
| 10 | + |
| 11 | +class Migration(migrations.Migration): |
| 12 | + |
| 13 | + dependencies = [ |
| 14 | + ('community', '0002_auto_20180220_1052'), |
| 15 | + ] |
| 16 | + |
| 17 | + operations = [ |
| 18 | + migrations.CreateModel( |
| 19 | + name='CommunityListDocs', |
| 20 | + fields=[ |
| 21 | + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
| 22 | + ('communitylist', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='community.CommunityList')), |
| 23 | + ('document', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='doc.Document', to_field=b'id')), |
| 24 | + ], |
| 25 | + ), |
| 26 | + migrations.AddField( |
| 27 | + model_name='communitylist', |
| 28 | + name='added_docs2', |
| 29 | + field=models.ManyToManyField(related_name='communitylists', through='community.CommunityListDocs', to='doc.Document'), |
| 30 | + ), |
| 31 | + migrations.CreateModel( |
| 32 | + name='SearchRuleDocs', |
| 33 | + fields=[ |
| 34 | + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
| 35 | + ('document', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='doc.Document', to_field=b'id')), |
| 36 | + ('searchrule', ietf.utils.models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='community.SearchRule')), |
| 37 | + ], |
| 38 | + ), |
| 39 | + migrations.AddField( |
| 40 | + model_name='searchrule', |
| 41 | + name='name_contains_index2', |
| 42 | + field=models.ManyToManyField(related_name='searchrules', through='community.SearchRuleDocs', to='doc.Document'), |
| 43 | + ), |
| 44 | + ] |
0 commit comments