diff --git a/backend/app/core/database.py b/backend/app/core/database.py index 0ab95b10b..19a42a0e7 100644 --- a/backend/app/core/database.py +++ b/backend/app/core/database.py @@ -709,6 +709,12 @@ async def run_migrations(conn): except Exception: pass + # Migration: Add sliced_for_model column to print_archives for model-based queue assignment + try: + await conn.execute(text("ALTER TABLE print_archives ADD COLUMN sliced_for_model VARCHAR(50)")) + except Exception: + pass + # Migration: Add is_external column to library_files for external cloud files try: await conn.execute(text("ALTER TABLE library_files ADD COLUMN is_external BOOLEAN DEFAULT 0"))