From b082e1582ae5a5aa5efef4f37cf55ad91c283a83 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Tue, 18 Nov 2025 16:19:56 -0500 Subject: [PATCH] fix migration for rom_file.category --- backend/alembic/versions/0033_rom_file_and_hashes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/alembic/versions/0033_rom_file_and_hashes.py b/backend/alembic/versions/0033_rom_file_and_hashes.py index 7adb3b56e..b623227ab 100644 --- a/backend/alembic/versions/0033_rom_file_and_hashes.py +++ b/backend/alembic/versions/0033_rom_file_and_hashes.py @@ -24,6 +24,7 @@ def upgrade() -> None: if is_postgresql(connection): rom_file_category_enum = ENUM( + "GAME", "DLC", "HACK", "MANUAL", @@ -39,6 +40,7 @@ def upgrade() -> None: rom_file_category_enum.create(connection, checkfirst=False) else: rom_file_category_enum = sa.Enum( + "GAME", "DLC", "HACK", "MANUAL",