-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update migrations for le-utils upgrade.
- Loading branch information
Showing
3 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
contentcuration/contentcuration/migrations/0147_alter_formatpreset_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.24 on 2024-03-22 23:30 | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('contentcuration', '0146_drop_taskresult_fields'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='formatpreset', | ||
name='id', | ||
field=models.CharField(choices=[('high_res_video', 'High Resolution'), ('low_res_video', 'Low Resolution'), ('video_thumbnail', 'Thumbnail'), ('video_subtitle', 'Subtitle'), ('video_dependency', 'Video (dependency)'), ('audio', 'Audio'), ('audio_thumbnail', 'Thumbnail'), ('audio_dependency', 'audio (dependency)'), ('document', 'Document'), ('epub', 'ePub Document'), ('document_thumbnail', 'Thumbnail'), ('exercise', 'Exercise'), ('exercise_thumbnail', 'Thumbnail'), ('exercise_image', 'Exercise Image'), ('exercise_graphie', 'Exercise Graphie'), ('channel_thumbnail', 'Channel Thumbnail'), ('topic_thumbnail', 'Thumbnail'), ('html5_zip', 'HTML5 Zip'), ('html5_dependency', 'HTML5 Dependency (Zip format)'), ('html5_thumbnail', 'HTML5 Thumbnail'), ('h5p', 'H5P Zip'), ('h5p_thumbnail', 'H5P Thumbnail'), ('zim', 'Zim'), ('zim_thumbnail', 'Zim Thumbnail'), ('qti', 'QTI Zip'), ('qti_thumbnail', 'QTI Thumbnail'), ('slideshow_image', 'Slideshow Image'), ('slideshow_thumbnail', 'Slideshow Thumbnail'), ('slideshow_manifest', 'Slideshow Manifest'), ('imscp_zip', 'IMSCP Zip')], max_length=150, primary_key=True, serialize=False), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
contentcuration/kolibri_content/migrations/0020_alter_file_preset.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.24 on 2024-03-22 23:30 | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('content', '0019_auto_20230207_0116'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='file', | ||
name='preset', | ||
field=models.CharField(blank=True, choices=[('high_res_video', 'High Resolution'), ('low_res_video', 'Low Resolution'), ('video_thumbnail', 'Thumbnail'), ('video_subtitle', 'Subtitle'), ('video_dependency', 'Video (dependency)'), ('audio', 'Audio'), ('audio_thumbnail', 'Thumbnail'), ('audio_dependency', 'audio (dependency)'), ('document', 'Document'), ('epub', 'ePub Document'), ('document_thumbnail', 'Thumbnail'), ('exercise', 'Exercise'), ('exercise_thumbnail', 'Thumbnail'), ('exercise_image', 'Exercise Image'), ('exercise_graphie', 'Exercise Graphie'), ('channel_thumbnail', 'Channel Thumbnail'), ('topic_thumbnail', 'Thumbnail'), ('html5_zip', 'HTML5 Zip'), ('html5_dependency', 'HTML5 Dependency (Zip format)'), ('html5_thumbnail', 'HTML5 Thumbnail'), ('h5p', 'H5P Zip'), ('h5p_thumbnail', 'H5P Thumbnail'), ('zim', 'Zim'), ('zim_thumbnail', 'Zim Thumbnail'), ('qti', 'QTI Zip'), ('qti_thumbnail', 'QTI Thumbnail'), ('slideshow_image', 'Slideshow Image'), ('slideshow_thumbnail', 'Slideshow Thumbnail'), ('slideshow_manifest', 'Slideshow Manifest'), ('imscp_zip', 'IMSCP Zip')], max_length=150), | ||
), | ||
] |
53 changes: 53 additions & 0 deletions
53
contentcuration/kolibri_public/migrations/0003_alter_file_preset.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Generated by Django 3.2.24 on 2024-03-22 23:30 | ||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("kolibri_public", "0002_mptttreeidmanager"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="file", | ||
name="preset", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("high_res_video", "High Resolution"), | ||
("low_res_video", "Low Resolution"), | ||
("video_thumbnail", "Thumbnail"), | ||
("video_subtitle", "Subtitle"), | ||
("video_dependency", "Video (dependency)"), | ||
("audio", "Audio"), | ||
("audio_thumbnail", "Thumbnail"), | ||
("audio_dependency", "audio (dependency)"), | ||
("document", "Document"), | ||
("epub", "ePub Document"), | ||
("document_thumbnail", "Thumbnail"), | ||
("exercise", "Exercise"), | ||
("exercise_thumbnail", "Thumbnail"), | ||
("exercise_image", "Exercise Image"), | ||
("exercise_graphie", "Exercise Graphie"), | ||
("channel_thumbnail", "Channel Thumbnail"), | ||
("topic_thumbnail", "Thumbnail"), | ||
("html5_zip", "HTML5 Zip"), | ||
("html5_dependency", "HTML5 Dependency (Zip format)"), | ||
("html5_thumbnail", "HTML5 Thumbnail"), | ||
("h5p", "H5P Zip"), | ||
("h5p_thumbnail", "H5P Thumbnail"), | ||
("zim", "Zim"), | ||
("zim_thumbnail", "Zim Thumbnail"), | ||
("qti", "QTI Zip"), | ||
("qti_thumbnail", "QTI Thumbnail"), | ||
("slideshow_image", "Slideshow Image"), | ||
("slideshow_thumbnail", "Slideshow Thumbnail"), | ||
("slideshow_manifest", "Slideshow Manifest"), | ||
("imscp_zip", "IMSCP Zip"), | ||
], | ||
max_length=150, | ||
), | ||
), | ||
] |