The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update integration-utils.ts
Jonathan Summers-Muir02b43aa423ad
diff --git a/studio/lib/integration-utils.ts b/studio/lib/integration-utils.tsindex 87059452094..b16b53efdfc 100644--- a/studio/lib/integration-utils.ts+++ b/studio/lib/integration-utils.ts@@ -45,7 +45,9 @@ export async function getInitialMigrationSQLFromGitHubRepo(const baseGitHubUrl = `https://api.github.com/repos/${owner}/${repo}/contents/${path}`const supabaseFolderUrl = `${baseGitHubUrl}/supabase?ref=${branch}`const supabaseMigrationsPath = `supabase/migrations` // TODO: read this from the `supabase/config.toml` file- const migrationsFolderUrl = `${baseGitHubUrl}/${supabaseMigrationsPath}?ref=${branch}`+ const migrationsFolderUrl = `${baseGitHubUrl}/${supabaseMigrationsPath}${+ branch ? `?ref=${branch}` : ``+ }`const [supabaseFilesResponse, migrationFilesResponse] = await Promise.all([fetchGitHub<File[]>(supabaseFolderUrl),