Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: null-coalesce columns in formatWrapperTables (#44805)

Jordi Enric8bbb8fb110b2
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts b/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts
index f829301a51d..76834ea78e1 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.utils.ts
@@ -208,7 +208,7 @@ export const formatWrapperTables = (
...options,
index,
id: table.id,
- columns: table.columns,
+ columns: table.columns ?? [],
is_new_schema: false,
schema: table.schema,
schema_name: table.schema,