feat(main): commit
This commit is contained in:
45
core/migrations/0002_mediaitem_cache_expires_at_and_more.py
Normal file
45
core/migrations/0002_mediaitem_cache_expires_at_and_more.py
Normal file
@@ -0,0 +1,45 @@
|
||||
# Generated by Django 6.0.3 on 2026-03-08 15:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("core", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="mediaitem",
|
||||
name="cache_expires_at",
|
||||
field=models.DateTimeField(blank=True, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="mediaitem",
|
||||
name="cached_file_path",
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="mediaitem",
|
||||
name="youtube_video_id",
|
||||
field=models.CharField(blank=True, db_index=True, max_length=64, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="mediasource",
|
||||
name="source_type",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("local_directory", "Local Directory"),
|
||||
("network_share", "Network Share"),
|
||||
("manual_import", "Manual Import"),
|
||||
("playlist", "Playlist"),
|
||||
("stream", "Stream"),
|
||||
("api_feed", "API Feed"),
|
||||
("youtube_channel", "YouTube Channel"),
|
||||
("youtube_playlist", "YouTube Playlist"),
|
||||
],
|
||||
max_length=32,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user