mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 03:47:02 +00:00
add missing migrations
This commit is contained in:
34
src/app/migrations/0055_alter_item_media_type.py
Normal file
34
src/app/migrations/0055_alter_item_media_type.py
Normal file
@@ -0,0 +1,34 @@
|
||||
# Generated by Django 5.2.9 on 2026-02-03 21:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
"""Migration to fix boardgame value."""
|
||||
|
||||
dependencies = [
|
||||
("app", "0054_fix_movie_progress"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="item",
|
||||
name="media_type",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("tv", "TV Show"),
|
||||
("season", "TV Season"),
|
||||
("episode", "Episode"),
|
||||
("movie", "Movie"),
|
||||
("anime", "Anime"),
|
||||
("manga", "Manga"),
|
||||
("game", "Game"),
|
||||
("book", "Book"),
|
||||
("comic", "Comic"),
|
||||
("boardgame", "Boardgame"),
|
||||
],
|
||||
default="movie",
|
||||
max_length=10,
|
||||
),
|
||||
),
|
||||
]
|
||||
34
src/users/migrations/0045_alter_user_last_search_type.py
Normal file
34
src/users/migrations/0045_alter_user_last_search_type.py
Normal file
@@ -0,0 +1,34 @@
|
||||
# Generated by Django 5.2.9 on 2026-02-03 21:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
"""Migration to fix boardgame value."""
|
||||
|
||||
dependencies = [
|
||||
("users", "0044_user_progress_bar"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="user",
|
||||
name="last_search_type",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("tv", "TV Show"),
|
||||
("season", "TV Season"),
|
||||
("episode", "Episode"),
|
||||
("movie", "Movie"),
|
||||
("anime", "Anime"),
|
||||
("manga", "Manga"),
|
||||
("game", "Game"),
|
||||
("book", "Book"),
|
||||
("comic", "Comic"),
|
||||
("boardgame", "Boardgame"),
|
||||
],
|
||||
default="tv",
|
||||
max_length=10,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user