4 from django
.db
import models
, migrations
5 import uuidfield
.fields
8 class Migration(migrations
.Migration
):
11 ('contenttypes', '__first__'),
15 migrations
.CreateModel(
18 ('id', uuidfield
.fields
.UUIDField(max_length
=32, serialize
=False, primary_key
=True)),
19 ('title', models
.CharField(max_length
=1000, blank
=True)),
20 ('subtitle', models
.CharField(max_length
=1000, blank
=True)),
25 bases
=(models
.Model
,),
27 migrations
.CreateModel(
30 ('id', models
.AutoField(verbose_name
='ID', serialize
=False, auto_created
=True, primary_key
=True)),
31 ('uuid', uuidfield
.fields
.UUIDField(unique
=True, max_length
=32)),
32 ('content_type', models
.ForeignKey(to
='contenttypes.ContentType', to_field
='id')),
33 ('object_id', uuidfield
.fields
.UUIDField(max_length
=32)),
37 bases
=(models
.Model
,),
39 migrations
.CreateModel(
42 ('id', models
.AutoField(verbose_name
='ID', serialize
=False, auto_created
=True, primary_key
=True)),
43 ('order', models
.PositiveSmallIntegerField()),
44 ('scope', uuidfield
.fields
.UUIDField(max_length
=32, null
=True)),
45 ('slug', models
.SlugField()),
46 ('content_type', models
.ForeignKey(to
='contenttypes.ContentType', to_field
='id')),
47 ('object_id', uuidfield
.fields
.UUIDField(max_length
=32)),
50 'unique_together': set([(b
'slug', b
'scope'), (b
'content_type', b
'object_id', b
'order')]),
52 bases
=(models
.Model
,),
54 migrations
.CreateModel(
57 ('id', models
.AutoField(verbose_name
='ID', serialize
=False, auto_created
=True, primary_key
=True)),
58 ('tag', models
.SlugField()),
59 ('source', models
.PositiveSmallIntegerField(choices
=[(1, b
'Feed'), (2, b
'delicious'), (4, b
'User')])),
60 ('content_type', models
.ForeignKey(to
='contenttypes.ContentType', to_field
='id')),
61 ('object_id', uuidfield
.fields
.UUIDField(max_length
=32)),
64 'unique_together': set([(b
'tag', b
'source', b
'content_type', b
'object_id')]),
66 bases
=(models
.Model
,),
68 migrations
.CreateModel(
71 ('id', models
.AutoField(verbose_name
='ID', serialize
=False, auto_created
=True, primary_key
=True)),
72 ('order', models
.PositiveSmallIntegerField()),
73 ('scope', uuidfield
.fields
.UUIDField(max_length
=32, null
=True)),
74 ('url', models
.URLField(max_length
=1000)),
75 ('content_type', models
.ForeignKey(to
='contenttypes.ContentType', to_field
='id')),
76 ('object_id', uuidfield
.fields
.UUIDField(max_length
=32)),
79 'unique_together': set([(b
'url', b
'scope'), (b
'content_type', b
'object_id', b
'order')]),
81 bases
=(models
.Model
,),
83 migrations
.CreateModel(
86 ('id', uuidfield
.fields
.UUIDField(max_length
=32, serialize
=False, primary_key
=True)),
87 ('title', models
.CharField(max_length
=1000, blank
=True)),
88 ('subtitle', models
.CharField(max_length
=1000, blank
=True)),
89 ('description', models
.TextField(blank
=True)),
90 ('link', models
.URLField(max_length
=1000, null
=True)),
91 ('language', models
.CharField(max_length
=10, null
=True)),
92 ('last_update', models
.DateTimeField()),
93 ('created', models
.DateTimeField()),
94 ('modified', models
.DateTimeField(auto_now
=True)),
95 ('license', models
.CharField(max_length
=100, null
=True)),
96 ('flattr_url', models
.URLField(max_length
=1000, null
=True)),
97 ('content_types', models
.CharField(max_length
=20, blank
=True)),
98 ('outdated', models
.BooleanField(default
=False)),
99 ('author', models
.CharField(max_length
=100, null
=True, blank
=True)),
100 ('logo_url', models
.URLField(max_length
=1000, null
=True)),
101 ('group', models
.ForeignKey(to
='podcasts.PodcastGroup', to_field
=b
'id', null
=True)),
102 ('group_member_name', models
.CharField(max_length
=30, null
=True)),
103 ('common_episode_title', models
.CharField(max_length
=50, blank
=True)),
104 ('new_location', models
.URLField(max_length
=1000, null
=True)),
105 ('latest_episode_timestamp', models
.DateTimeField(null
=True)),
106 ('episode_count', models
.PositiveIntegerField()),
107 ('hub', models
.URLField(null
=True)),
108 ('related_podcasts', models
.ManyToManyField(to
=b
'podcasts.Podcast')),
113 bases
=(models
.Model
,),
115 migrations
.CreateModel(
118 ('id', uuidfield
.fields
.UUIDField(max_length
=32, serialize
=False, primary_key
=True)),
119 ('title', models
.CharField(max_length
=1000, blank
=True)),
120 ('subtitle', models
.CharField(max_length
=1000, blank
=True)),
121 ('description', models
.TextField(blank
=True)),
122 ('link', models
.URLField(max_length
=1000, null
=True)),
123 ('language', models
.CharField(max_length
=10, null
=True)),
124 ('last_update', models
.DateTimeField()),
125 ('created', models
.DateTimeField()),
126 ('modified', models
.DateTimeField(auto_now
=True)),
127 ('license', models
.CharField(max_length
=100, null
=True)),
128 ('flattr_url', models
.URLField(max_length
=1000, null
=True)),
129 ('content_types', models
.CharField(max_length
=20, blank
=True)),
130 ('outdated', models
.BooleanField(default
=False)),
131 ('author', models
.CharField(max_length
=100, null
=True, blank
=True)),
132 ('guid', models
.CharField(max_length
=50, null
=True)),
133 ('content', models
.TextField()),
134 ('released', models
.DateTimeField(null
=True)),
135 ('duration', models
.PositiveIntegerField(null
=True)),
136 ('filesize', models
.PositiveIntegerField(null
=True)),
137 ('mimetypes', models
.CharField(max_length
=50)),
138 ('listeners', models
.PositiveIntegerField(null
=True)),
139 ('podcast', models
.ForeignKey(to
='podcasts.Podcast', to_field
=b
'id')),
144 bases
=(models
.Model
,),