The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: use pitr_enabled when checking for pitr sub
dragarciac235affcf832
diff --git a/studio/components/interfaces/Database/Backups/BackupsList.tsx b/studio/components/interfaces/Database/Backups/BackupsList.tsxindex dabc90d5837..6add480cb2c 100644--- a/studio/components/interfaces/Database/Backups/BackupsList.tsx+++ b/studio/components/interfaces/Database/Backups/BackupsList.tsx@@ -21,7 +21,7 @@ const BackupsList = () => {'queue_job.restore.prepare')- const isPitrEnabled = backups?.configuration?.walg_enabled+ const isPitrEnabled = backups?.configuration?.pitr_enabledif (backups.isLoading) return <Loading />if (backups.error) return <BackupsError />diff --git a/studio/pages/project/[ref]/database/backups/scheduled.tsx b/studio/pages/project/[ref]/database/backups/scheduled.tsxindex 2a6fe5fbd3b..d32e43d89d2 100644--- a/studio/pages/project/[ref]/database/backups/scheduled.tsx+++ b/studio/pages/project/[ref]/database/backups/scheduled.tsx@@ -18,7 +18,7 @@ const DatabaseScheduledBackups: NextPageWithLayout = () => {const { project } = useProjectContext()const ref = project?.ref- const isPitrEnabled = backups?.configuration?.walg_enabled+ const isPitrEnabled = backups?.configuration?.pitr_enabledconst canReadScheduledBackups = useCheckPermissions(PermissionAction.READ, 'back_ups')