From 425b8400b0324fd7f043c9378244f2db83ce90ef Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Sat, 13 Dec 2025 13:28:34 -0800 Subject: [PATCH] fix: add storage_backend and storage_url columns to schema.prisma files (#17936) - Updated litellm/proxy/schema.prisma to include storage_backend and storage_url columns - Updated litellm-proxy-extras/litellm_proxy_extras/schema.prisma to include storage_backend and storage_url columns - Fixes database schema mismatch causing 'storage_backend column does not exist' errors - Keeps all schema files in sync with root schema.prisma --- litellm-proxy-extras/litellm_proxy_extras/schema.prisma | 2 ++ litellm/proxy/schema.prisma | 2 ++ 2 files changed, 4 insertions(+) diff --git a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma index b76bb0401da..fd77a86f42c 100644 --- a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma +++ b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma @@ -602,6 +602,8 @@ model LiteLLM_ManagedFileTable { file_object Json? // Stores the OpenAIFileObject model_mappings Json flat_model_file_ids String[] @default([]) // Flat list of model file id's - for faster querying of model id -> unified file id + storage_backend String? // Storage backend name (e.g., "azure_storage", "gcs", "default") + storage_url String? // The actual storage URL where the file is stored created_at DateTime @default(now()) created_by String? updated_at DateTime @updatedAt diff --git a/litellm/proxy/schema.prisma b/litellm/proxy/schema.prisma index b76bb0401da..fd77a86f42c 100644 --- a/litellm/proxy/schema.prisma +++ b/litellm/proxy/schema.prisma @@ -602,6 +602,8 @@ model LiteLLM_ManagedFileTable { file_object Json? // Stores the OpenAIFileObject model_mappings Json flat_model_file_ids String[] @default([]) // Flat list of model file id's - for faster querying of model id -> unified file id + storage_backend String? // Storage backend name (e.g., "azure_storage", "gcs", "default") + storage_url String? // The actual storage URL where the file is stored created_at DateTime @default(now()) created_by String? updated_at DateTime @updatedAt