migrations from the new model

This commit is contained in:
2026-07-07 10:20:43 +01:00
parent 78e9da8bd3
commit 3c2e6fe2f1
3 changed files with 56 additions and 1 deletions
@@ -1,4 +1,4 @@
# Generated by Django 4.2.29 on 2026-07-05 13:43
# Generated by Django 4.2.30 on 2026-07-07 08:35
import datetime
from django.db import migrations, models
@@ -0,0 +1,27 @@
# Generated by Django 4.2.30 on 2026-07-07 08:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('simpsons', '0005_simpsonsdata_modified_at'),
]
operations = [
migrations.CreateModel(
name='urlData',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('url_example', models.CharField(max_length=1000)),
('prefix', models.CharField(max_length=1000)),
('infix', models.CharField(max_length=1000)),
('suffix', models.CharField(max_length=1000)),
('addedDate', models.DateField(auto_now_add=True, null=True, verbose_name='Published')),
],
options={
'db_table': 'redirectUrl',
},
),
]
@@ -0,0 +1,28 @@
# Generated by Django 4.2.30 on 2026-07-07 08:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('simpsons', '0006_urldata'),
]
operations = [
migrations.AlterField(
model_name='urldata',
name='infix',
field=models.CharField(help_text='8&episode=', max_length=1000),
),
migrations.AlterField(
model_name='urldata',
name='prefix',
field=models.CharField(help_text='https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=', max_length=1000),
),
migrations.AlterField(
model_name='urldata',
name='url_example',
field=models.CharField(help_text='https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=18&episode=5', max_length=1000),
),
]