Skip to content

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

Fix schema store

Joshen Lim55606dd6b94c
diff --git a/studio/stores/pgmeta/SchemaStore.ts b/studio/stores/pgmeta/SchemaStore.ts
index ac3f857d949..7a0082db225 100644
--- a/studio/stores/pgmeta/SchemaStore.ts
+++ b/studio/stores/pgmeta/SchemaStore.ts
@@ -10,7 +10,7 @@ export interface ISchemaStore extends IPostgresMetaInterface<PostgresSchema> {
loadViews: (schema: string) => Promise<any | { error: ResponseError }>
}
export default class SchemaStore extends PostgresMetaInterface<PostgresSchema> {
- views: SchemaView[]
+ views: SchemaView[] = []
constructor(
rootStore: IRootStore,