This commit is contained in:
+4
-4
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 4.2.30 on 2026-08-07 11:00
|
||||
# Generated by Django 4.2.30 on 2026-08-07 13:13
|
||||
|
||||
import apps.streaming.models
|
||||
from django.db import migrations, models
|
||||
@@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='urlData',
|
||||
name='StreamingRedirectData',
|
||||
fields=[
|
||||
('name', models.CharField(help_text='Name of the show', max_length=1000, primary_key=True, serialize=False)),
|
||||
('url_example', models.CharField(help_text='https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=18&episode=5', max_length=1000)),
|
||||
@@ -20,10 +20,10 @@ class Migration(migrations.Migration):
|
||||
('infix', models.CharField(blank=True, help_text='&episode=', max_length=1000, null=True)),
|
||||
('suffix', models.CharField(blank=True, max_length=1000, null=True)),
|
||||
('addedDate', models.DateField(auto_now_add=True, null=True, verbose_name='Published')),
|
||||
('alias', models.CharField(default=apps.streaming.models.urlData.sanitize, max_length=1000)),
|
||||
('alias', models.CharField(default=apps.streaming.models.StreamingRedirectData.sanitize, max_length=1000)),
|
||||
],
|
||||
options={
|
||||
'db_table': 'redirectUrl',
|
||||
'db_table': 'StreamingRedirect',
|
||||
},
|
||||
),
|
||||
]
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 4.2.30 on 2026-08-07 14:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('streaming', '0003_streamingredirectdata'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='streamingredirectdata',
|
||||
name='episode_to_watch',
|
||||
field=models.IntegerField(default=1),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='streamingredirectdata',
|
||||
name='season_to_watch',
|
||||
field=models.IntegerField(default=1),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='streamingredirectdata',
|
||||
name='alias',
|
||||
field=models.CharField(blank=True, max_length=1000, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.30 on 2026-08-07 14:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('streaming', '0004_streamingredirectdata_episode_to_watch_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='streamingredirectdata',
|
||||
name='hello',
|
||||
field=models.CharField(blank=True, max_length=1000, null=True),
|
||||
),
|
||||
]
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 4.2.30 on 2026-08-07 14:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('streaming', '0005_streamingredirectdata_hello'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='streamingredirectdata',
|
||||
name='hello',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='streamingredirectdata',
|
||||
name='seasonInformation',
|
||||
field=models.JSONField(blank=True, max_length=1000, null=True),
|
||||
),
|
||||
]
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 4.2.30 on 2026-08-07 15:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('streaming', '0006_remove_streamingredirectdata_hello_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameModel(
|
||||
old_name='streamingData',
|
||||
new_name='StreamingSiteTestingData',
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='streamingredirectdata',
|
||||
name='seasonInformation',
|
||||
field=models.JSONField(blank=True, default='', max_length=1000),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user