Merged all migrations.

This commit is contained in:
SergeantPanda 2025-08-08 08:41:43 -05:00
parent 345247df11
commit 00361c15b9
4 changed files with 5 additions and 59 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 5.2.4 on 2025-08-07 17:33
# Generated by Django 5.2.4 on 2025-08-08 13:41
import django.db.models.deletion
import uuid
@ -28,6 +28,7 @@ class Migration(migrations.Migration):
('duration', models.IntegerField(blank=True, help_text='Duration in minutes', null=True)),
('tmdb_id', models.CharField(blank=True, db_index=True, help_text='TMDB ID for metadata', max_length=50, null=True)),
('imdb_id', models.CharField(blank=True, db_index=True, help_text='IMDB ID for metadata', max_length=50, null=True)),
('custom_properties', models.JSONField(blank=True, help_text='Additional metadata and properties for the movie', null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('logo', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='dispatcharr_channels.logo')),
@ -51,6 +52,7 @@ class Migration(migrations.Migration):
('genre', models.CharField(blank=True, max_length=255, null=True)),
('tmdb_id', models.CharField(blank=True, db_index=True, help_text='TMDB ID for metadata', max_length=50, null=True)),
('imdb_id', models.CharField(blank=True, db_index=True, help_text='IMDB ID for metadata', max_length=50, null=True)),
('custom_properties', models.JSONField(blank=True, help_text='Additional metadata and properties for the series', null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('logo', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='dispatcharr_channels.logo')),
@ -69,7 +71,7 @@ class Migration(migrations.Migration):
('uuid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)),
('name', models.CharField(max_length=255)),
('description', models.TextField(blank=True, null=True)),
('release_date', models.DateField(blank=True, null=True)),
('air_date', models.DateField(blank=True, null=True)),
('rating', models.CharField(blank=True, max_length=10, null=True)),
('duration', models.IntegerField(blank=True, help_text='Duration in minutes', null=True)),
('season_number', models.IntegerField(blank=True, null=True)),
@ -107,7 +109,6 @@ class Migration(migrations.Migration):
name='M3UEpisodeRelation',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('url', models.URLField(max_length=2048)),
('stream_id', models.CharField(help_text='External stream ID from M3U provider', max_length=255)),
('container_extension', models.CharField(blank=True, max_length=10, null=True)),
('custom_properties', models.JSONField(blank=True, help_text='Provider-specific data like quality, language, etc.', null=True)),
@ -151,6 +152,7 @@ class Migration(migrations.Migration):
('custom_properties', models.JSONField(blank=True, help_text='Provider-specific data like quality, language, etc.', null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('last_advanced_refresh', models.DateTimeField(blank=True, help_text='Last time advanced data was fetched from provider', null=True)),
('m3u_account', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='movie_relations', to='m3u.m3uaccount')),
('movie', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='m3u_relations', to='vod.movie')),
('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='vod.vodcategory')),

View file

@ -1,23 +0,0 @@
# Generated by Django 5.1.6 on 2025-01-XX XX:XX
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vod', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='movie',
name='custom_properties',
field=models.JSONField(blank=True, help_text='Additional metadata and properties for the movie', null=True),
),
migrations.AddField(
model_name='series',
name='custom_properties',
field=models.JSONField(blank=True, help_text='Additional metadata and properties for the series', null=True),
),
]

View file

@ -1,18 +0,0 @@
# Generated by Django 5.2.4 on 2025-08-07 23:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('vod', '0002_movie_series_custom_properties'),
]
operations = [
migrations.RenameField(
model_name='episode',
old_name='release_date',
new_name='air_date',
),
]

View file

@ -1,15 +0,0 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vod', '0003_rename_release_date_episode_air_date'),
]
operations = [
migrations.AddField(
model_name='m3umovierelation',
name='last_advanced_refresh',
field=models.DateTimeField(blank=True, null=True, help_text="Last time advanced data was fetched from provider"),
),
]