From 19e811214c60191af3b11e2f4ceab6fe51c782a2 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 18 Sep 2024 14:27:15 +0100 Subject: [PATCH] add db migrations --- ...or_alter_movieid_episode_title_and_more.py | 43 +++++++++++++++++++ .../0003_alter_imdb_id_alter_match_id.py | 23 ++++++++++ ...postercache_id_alter_postercache_status.py | 23 ++++++++++ 3 files changed, 89 insertions(+) create mode 100644 oxdata/lookup/migrations/0003_alter_movieid_director_alter_movieid_episode_title_and_more.py create mode 100644 oxdata/movie/migrations/0003_alter_imdb_id_alter_match_id.py create mode 100644 oxdata/poster/migrations/0002_alter_postercache_id_alter_postercache_status.py diff --git a/oxdata/lookup/migrations/0003_alter_movieid_director_alter_movieid_episode_title_and_more.py b/oxdata/lookup/migrations/0003_alter_movieid_director_alter_movieid_episode_title_and_more.py new file mode 100644 index 0000000..1edf8e7 --- /dev/null +++ b/oxdata/lookup/migrations/0003_alter_movieid_director_alter_movieid_episode_title_and_more.py @@ -0,0 +1,43 @@ +# Generated by Django 4.2.7 on 2024-09-18 12:37 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('lookup', '0002_imdb'), + ] + + operations = [ + migrations.AlterField( + model_name='movieid', + name='director', + field=models.CharField(blank=True, default='', max_length=1000), + ), + migrations.AlterField( + model_name='movieid', + name='episode_title', + field=models.CharField(blank=True, default='', max_length=1000), + ), + migrations.AlterField( + model_name='movieid', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='movieid', + name='series_title', + field=models.CharField(blank=True, default='', max_length=1000), + ), + migrations.AlterField( + model_name='movieid', + name='title', + field=models.CharField(blank=True, default='', max_length=1000), + ), + migrations.AlterField( + model_name='movieid', + name='year', + field=models.CharField(blank=True, default='', max_length=4), + ), + ] diff --git a/oxdata/movie/migrations/0003_alter_imdb_id_alter_match_id.py b/oxdata/movie/migrations/0003_alter_imdb_id_alter_match_id.py new file mode 100644 index 0000000..3db6be1 --- /dev/null +++ b/oxdata/movie/migrations/0003_alter_imdb_id_alter_match_id.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.7 on 2024-09-18 12:37 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('movie', '0002_imdb'), + ] + + operations = [ + migrations.AlterField( + model_name='imdb', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='match', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/oxdata/poster/migrations/0002_alter_postercache_id_alter_postercache_status.py b/oxdata/poster/migrations/0002_alter_postercache_id_alter_postercache_status.py new file mode 100644 index 0000000..87dac5c --- /dev/null +++ b/oxdata/poster/migrations/0002_alter_postercache_id_alter_postercache_status.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.7 on 2024-09-18 12:37 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('poster', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='postercache', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='postercache', + name='status', + field=models.CharField(default='200', max_length=1024), + ), + ]