[Podcasts] fix model migration with self-reference
[mygpo.git] / mygpo / podcasts / migrations / 0028_episode_indexes.py
blob73d6e63120912e3bc3756b99320d68c1a0cd784f
1 # -*- coding: utf-8 -*-
4 from django.db import models, migrations
7 class Migration(migrations.Migration):
9 dependencies = [
10 ('podcasts', '0027_episode_index'),
13 operations = [
14 migrations.AlterField(
15 model_name='podcast',
16 name='related_podcasts',
17 field=models.ManyToManyField(related_name='related_podcasts_rel_+', to='self'),
19 migrations.AlterIndexTogether(
20 name='episode',
21 index_together=set([('released', 'podcast'), ('podcast', 'released'), ('podcast', 'outdated', 'released')]),