The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
db report (#36516)
Francesco Sansalvadoreb1ad7649f3dd
diff --git a/apps/studio/pages/project/[ref]/reports/database.tsx b/apps/studio/pages/project/[ref]/reports/database.tsxindex 8ada04517a0..7e883005489 100644--- a/apps/studio/pages/project/[ref]/reports/database.tsx+++ b/apps/studio/pages/project/[ref]/reports/database.tsx@@ -60,10 +60,13 @@ export default DatabaseReportconst DatabaseUsage = () => {const { db, chart, ref } = useParams()const { project } = useProjectContext()- const showChartsV2 = useFlag('reportsDatabaseV2')+ const isReportsV2 = useFlag('reportsDatabaseV2')const org = useSelectedOrganization()const { plan: orgPlan, isLoading: isOrgPlanLoading } = useCurrentOrgPlan()const isFreePlan = !isOrgPlanLoading && orgPlan?.id === 'free'+ const isTeamsOrEnterprisePlan =+ !isOrgPlanLoading && (orgPlan?.id === 'team' || orgPlan?.id === 'enterprise')+ const showChartsV2 = isReportsV2 || isTeamsOrEnterprisePlanconst state = useDatabaseSelectorStateSnapshot()const defaultStart = dayjs().subtract(1, 'day').toISOString()