The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
migrate the postgres docs to the relevant sidebar
Copple0470bd0f8aaf
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 2dcd089bbc1..11043ca46c4 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -512,6 +512,24 @@ export const database = {},],},+ {+ name: 'Postgres resources',+ url: undefined,+ items: [+ {+ name: 'Drop all tables in schema',+ url: '/guides/database/postgres/dropping-all-tables-in-schema',+ },+ {+ name: 'Select first row per group',+ url: '/guides/database/postgres/first-row-in-group',+ },+ {+ name: 'Print PostgreSQL version',+ url: '/guides/database/postgres/which-version-of-postgres',+ },+ ],+ },{name: 'Configuration',url: undefined,@@ -727,24 +745,6 @@ export const resources = {},],},- {- name: 'Postgres resources',- url: undefined,- items: [- {- name: 'Drop all tables in schema',- url: '/guides/resources/postgres/dropping-all-tables-in-schema',- },- {- name: 'Select first row per group',- url: '/guides/resources/postgres/first-row-in-group',- },- {- name: 'Print PostgreSQL version',- url: '/guides/resources/postgres/which-version-of-postgres',- },- ],- },],}diff --git a/apps/docs/pages/guides/resources/postgres/dropping-all-tables-in-schema.mdx b/apps/docs/pages/guides/database/postgres/dropping-all-tables-in-schema.mdxsimilarity index 100%rename from apps/docs/pages/guides/resources/postgres/dropping-all-tables-in-schema.mdxrename to apps/docs/pages/guides/database/postgres/dropping-all-tables-in-schema.mdxdiff --git a/apps/docs/pages/guides/resources/postgres/first-row-in-group.mdx b/apps/docs/pages/guides/database/postgres/first-row-in-group.mdxsimilarity index 100%rename from apps/docs/pages/guides/resources/postgres/first-row-in-group.mdxrename to apps/docs/pages/guides/database/postgres/first-row-in-group.mdxdiff --git a/apps/docs/pages/guides/resources/postgres/which-version-of-postgres.mdx b/apps/docs/pages/guides/database/postgres/which-version-of-postgres.mdxsimilarity index 100%rename from apps/docs/pages/guides/resources/postgres/which-version-of-postgres.mdxrename to apps/docs/pages/guides/database/postgres/which-version-of-postgres.mdxdiff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 00b9b15e5c5..05e8c945236 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -1862,4 +1862,19 @@ module.exports = [source: '/docs/guides/platform/database-usage',destination: '/docs/guides/platform/database-size',},+ {+ permanent: true,+ source: '/docs/guides/resources/postgres/dropping-all-tables-in-schema',+ destination: '/docs/guides/database/postgres/dropping-all-tables-in-schema',+ },+ {+ permanent: true,+ source: '/docs/guides/resources/postgres/first-row-in-group',+ destination: '/docs/guides/database/postgres/first-row-in-group',+ },+ {+ permanent: true,+ source: '/docs/guides/resources/postgres/which-version-of-postgres',+ destination: '/docs/guides/database/postgres/which-version-of-postgres',+ },]