From cb22bad525921273184f0a3724975ed3714723a3 Mon Sep 17 00:00:00 2001 From: Dan Jacob Date: Sat, 14 Sep 2024 14:01:34 +0300 Subject: [PATCH] chore: remove type annotations from model fields --- ...episode_cover_url_alter_episode_website.py | 24 +++++++++ ...t_hash_alter_podcast_cover_url_and_more.py | 54 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 radiofeed/episodes/migrations/0003_alter_episode_cover_url_alter_episode_website.py create mode 100644 radiofeed/podcasts/migrations/0005_alter_podcast_content_hash_alter_podcast_cover_url_and_more.py diff --git a/radiofeed/episodes/migrations/0003_alter_episode_cover_url_alter_episode_website.py b/radiofeed/episodes/migrations/0003_alter_episode_cover_url_alter_episode_website.py new file mode 100644 index 000000000..2c22fa918 --- /dev/null +++ b/radiofeed/episodes/migrations/0003_alter_episode_cover_url_alter_episode_website.py @@ -0,0 +1,24 @@ +# Generated by Django 5.1.1 on 2024-09-14 11:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("episodes", "0002_add_episode_search_trigger"), + ] + + operations = [ + migrations.AlterField( + model_name="episode", + name="cover_url", + field=models.URLField(blank=True, default="", max_length=2083), + preserve_default=False, + ), + migrations.AlterField( + model_name="episode", + name="website", + field=models.URLField(blank=True, default="", max_length=2083), + preserve_default=False, + ), + ] diff --git a/radiofeed/podcasts/migrations/0005_alter_podcast_content_hash_alter_podcast_cover_url_and_more.py b/radiofeed/podcasts/migrations/0005_alter_podcast_content_hash_alter_podcast_cover_url_and_more.py new file mode 100644 index 000000000..17c81d1ac --- /dev/null +++ b/radiofeed/podcasts/migrations/0005_alter_podcast_content_hash_alter_podcast_cover_url_and_more.py @@ -0,0 +1,54 @@ +# Generated by Django 5.1.1 on 2024-09-14 11:01 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("podcasts", "0004_alter_podcast_frequency"), + ] + + operations = [ + migrations.AlterField( + model_name="podcast", + name="content_hash", + field=models.CharField(blank=True, default="", max_length=64), + preserve_default=False, + ), + migrations.AlterField( + model_name="podcast", + name="cover_url", + field=models.URLField(blank=True, default="", max_length=2083), + preserve_default=False, + ), + migrations.AlterField( + model_name="podcast", + name="funding_url", + field=models.URLField(blank=True, default="", max_length=2083), + preserve_default=False, + ), + migrations.AlterField( + model_name="podcast", + name="parser_error", + field=models.CharField( + blank=True, + choices=[ + ("duplicate", "Duplicate"), + ("inaccessible", "Inaccessible"), + ("invalid_data", "Invalid Data"), + ("invalid_rss", "Invalid RSS"), + ("not_modified", "Not Modified"), + ("unavailable", "Unavailable"), + ], + default="", + max_length=30, + ), + preserve_default=False, + ), + migrations.AlterField( + model_name="podcast", + name="website", + field=models.URLField(blank=True, default="", max_length=2083), + preserve_default=False, + ), + ]