30 lines
1.3 KiB
Python
30 lines
1.3 KiB
Python
# Generated by Django 4.2.30 on 2026-08-07 11:00
|
|
|
|
import apps.streaming.models
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('streaming', '0002_streamingdata_result'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='urlData',
|
|
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)),
|
|
('prefix', models.CharField(blank=True, help_text='https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=', max_length=1000, null=True)),
|
|
('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)),
|
|
],
|
|
options={
|
|
'db_table': 'redirectUrl',
|
|
},
|
|
),
|
|
]
|