Skip to content

Commit 8bc9fe8

Browse files
committed
Add migrations
1 parent 9f69c08 commit 8bc9fe8

File tree

3 files changed

+130
-1
lines changed

3 files changed

+130
-1
lines changed
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# Generated by Django 4.2.11 on 2024-05-10 22:07
2+
3+
import api.models.fields
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('api', '0060_fill_out_help_text'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='audio',
16+
name='audio_set_foreign_identifier',
17+
field=models.TextField(blank=True, help_text='Reference to set of which this track is a part.', null=True),
18+
),
19+
migrations.AlterField(
20+
model_name='audio',
21+
name='creator',
22+
field=models.TextField(blank=True, help_text='The name of the media creator.', null=True),
23+
),
24+
migrations.AlterField(
25+
model_name='audio',
26+
name='creator_url',
27+
field=api.models.fields.URLTextField(blank=True, help_text='A direct link to the media creator.', max_length=2000, null=True),
28+
),
29+
migrations.AlterField(
30+
model_name='audio',
31+
name='foreign_identifier',
32+
field=models.TextField(blank=True, db_index=True, help_text='The identifier provided by the upstream source.', null=True),
33+
),
34+
migrations.AlterField(
35+
model_name='audio',
36+
name='foreign_landing_url',
37+
field=api.models.fields.URLTextField(blank=True, help_text='The landing page of the work.', null=True),
38+
),
39+
migrations.AlterField(
40+
model_name='audio',
41+
name='thumbnail',
42+
field=api.models.fields.URLTextField(blank=True, help_text='The thumbnail for the media.', null=True),
43+
),
44+
migrations.AlterField(
45+
model_name='audio',
46+
name='title',
47+
field=models.TextField(blank=True, help_text='The name of the media.', null=True),
48+
),
49+
migrations.AlterField(
50+
model_name='audio',
51+
name='url',
52+
field=api.models.fields.URLTextField(blank=True, help_text='The actual URL to the media file.', max_length=1000, null=True, unique=True),
53+
),
54+
migrations.AlterField(
55+
model_name='audioset',
56+
name='creator',
57+
field=models.TextField(blank=True, help_text='The name of the media creator.', null=True),
58+
),
59+
migrations.AlterField(
60+
model_name='audioset',
61+
name='creator_url',
62+
field=api.models.fields.URLTextField(blank=True, help_text='A direct link to the media creator.', max_length=2000, null=True),
63+
),
64+
migrations.AlterField(
65+
model_name='audioset',
66+
name='foreign_identifier',
67+
field=models.TextField(blank=True, db_index=True, help_text='The identifier provided by the upstream source.', null=True),
68+
),
69+
migrations.AlterField(
70+
model_name='audioset',
71+
name='foreign_landing_url',
72+
field=api.models.fields.URLTextField(blank=True, help_text='The landing page of the work.', null=True),
73+
),
74+
migrations.AlterField(
75+
model_name='audioset',
76+
name='thumbnail',
77+
field=api.models.fields.URLTextField(blank=True, help_text='The thumbnail for the media.', null=True),
78+
),
79+
migrations.AlterField(
80+
model_name='audioset',
81+
name='title',
82+
field=models.TextField(blank=True, help_text='The name of the media.', null=True),
83+
),
84+
migrations.AlterField(
85+
model_name='audioset',
86+
name='url',
87+
field=api.models.fields.URLTextField(blank=True, help_text='The actual URL to the media file.', max_length=1000, null=True, unique=True),
88+
),
89+
migrations.AlterField(
90+
model_name='image',
91+
name='creator',
92+
field=models.TextField(blank=True, help_text='The name of the media creator.', null=True),
93+
),
94+
migrations.AlterField(
95+
model_name='image',
96+
name='creator_url',
97+
field=api.models.fields.URLTextField(blank=True, help_text='A direct link to the media creator.', max_length=2000, null=True),
98+
),
99+
migrations.AlterField(
100+
model_name='image',
101+
name='foreign_identifier',
102+
field=models.TextField(blank=True, db_index=True, help_text='The identifier provided by the upstream source.', null=True),
103+
),
104+
migrations.AlterField(
105+
model_name='image',
106+
name='foreign_landing_url',
107+
field=api.models.fields.URLTextField(blank=True, help_text='The landing page of the work.', null=True),
108+
),
109+
migrations.AlterField(
110+
model_name='image',
111+
name='thumbnail',
112+
field=api.models.fields.URLTextField(blank=True, help_text='The thumbnail for the media.', null=True),
113+
),
114+
migrations.AlterField(
115+
model_name='image',
116+
name='title',
117+
field=models.TextField(blank=True, help_text='The name of the media.', null=True),
118+
),
119+
migrations.AlterField(
120+
model_name='image',
121+
name='url',
122+
field=api.models.fields.URLTextField(blank=True, help_text='The actual URL to the media file.', max_length=1000, null=True, unique=True),
123+
),
124+
]

api/latest_migrations/api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# If you have a merge conflict in this file, it means you need to run:
33
# manage.py makemigrations --merge
44
# in order to resolve the conflict between migrations.
5-
0060_fill_out_help_text
5+
0061_convert_varchar_to_text
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file is autogenerated by makemigrations.
2+
# If you have a merge conflict in this file, it means you need to run:
3+
# manage.py makemigrations --merge
4+
# in order to resolve the conflict between migrations.
5+

0 commit comments

Comments
 (0)