The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Clarify need for database type generation
Jonathan Eldridge0c0a3d8152d6
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdxindex bbee6933442..adf2c12b5bf 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx@@ -317,6 +317,8 @@ export default function Account({ session }) {Let's create a new component for that called `Account.tsx` within a `components` folder.+First, [generate type definitions from your database using the Supabase CLI](https://supabase.com/docs/guides/database/api/generating-types) to `../utils/database.types`.+```tsx title=components/Account.tsximport { useState, useEffect } from 'react'import { useUser, useSupabaseClient, Session } from '@supabase/auth-helpers-react'