mirror of
https://github.com/supabase/supabase.git
synced 2026-09-22 13:37:53 +08:00
6bec90a744
## I have read the CONTRIBUTING.md file. YES ## What kind of change does this PR introduce? Revert. Removes the Multigres Public Alpha docs section that was published in #49020. Linear: MUL-1621 (follow-up to MUL-452). ## What is the current behavior? - Overview guide live at `/docs/guides/database/multigres` - Compatibility stub live at `/docs/guides/database/multigres/compatibility` - Database sidebar has a Multigres section - Features table lists Database / Multigres / `public alpha` - Database "What you get" cards render for Multigres ## What is the new behavior? Clean revert of #49020: overview and compatibility pages removed, sidebar entry removed, features table row removed, "What you get" cards removed. The unrelated `ContentListings` optional-`href` support this PR introduced is also reverted since nothing else uses it yet. Docs go back up once Sugu gives the go-ahead to re-publish (tracked in MUL-1621). ## Additional context - `pnpm --filter docs exec vitest run lib/content-listings.test.ts` — 20 passed <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Removed Multigres documentation, navigation links, feature listings, and related references. - Updated the JavaScript client library link in the getting-started guide. - Corrected the High Availability badge’s “Read more” link. - **Content Listings** - Content listing entries now require links and consistently render as linked items. - Non-linked listing items are no longer displayed as static content. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nik@validmind.ai>
97 lines
3.4 KiB
TypeScript
97 lines
3.4 KiB
TypeScript
import type { ContentListingGroup } from '~/lib/content-listings.schema'
|
|
|
|
export const databaseGetStarted: ContentListingGroup = {
|
|
id: 'database-get-started',
|
|
heading: 'Get started',
|
|
description: "If you're new to the database section, these are the pages to read first:",
|
|
type: 'grid',
|
|
columns: 2,
|
|
items: [
|
|
{
|
|
title: 'Connect to your database',
|
|
href: '/guides/database/connecting-to-postgres',
|
|
description:
|
|
'Connection strings, the Supavisor connection pooler, and when to use direct, transaction, or session mode.',
|
|
},
|
|
{
|
|
title: 'Tables and data',
|
|
href: '/guides/database/tables',
|
|
description: 'Create tables and relationships, and edit rows from the Dashboard.',
|
|
},
|
|
{
|
|
title: 'Import data',
|
|
href: '/guides/database/import-data',
|
|
description: 'Load existing data from CSV files, `pg_dump`, or another Postgres database.',
|
|
},
|
|
{
|
|
title: 'Secure your data',
|
|
href: '/guides/database/secure-data',
|
|
description:
|
|
'Row Level Security (RLS) is how Supabase makes the database safe to query directly from the client. Read this before exposing any table to your app.',
|
|
},
|
|
{
|
|
title: 'Extensions',
|
|
href: '/guides/database/extensions',
|
|
description:
|
|
'Add Postgres extensions from the Dashboard, including `pgvector` for embeddings, `PostGIS` for geospatial data, and `pg_cron` for scheduled jobs.',
|
|
},
|
|
{
|
|
title: 'Run SQL commands',
|
|
href: 'https://supabase.com/dashboard/project/_/sql',
|
|
description: "Use the Dashboard's SQL Editor for ad-hoc queries and saved snippets.",
|
|
},
|
|
],
|
|
}
|
|
|
|
export const databaseNextSteps: ContentListingGroup = {
|
|
id: 'database-next-steps',
|
|
heading: 'Next steps',
|
|
description:
|
|
"Once you've covered the basics, these guides help with other use cases and features:",
|
|
type: 'grid',
|
|
items: [
|
|
{
|
|
title: 'Database functions',
|
|
href: '/guides/database/functions',
|
|
description: 'Run logic inside the database in response to inserts, updates, or deletes.',
|
|
},
|
|
{
|
|
title: 'Triggers',
|
|
href: '/guides/database/postgres/triggers',
|
|
description: 'Run logic inside the database in response to inserts, updates, or deletes.',
|
|
},
|
|
{
|
|
title: 'Database webhooks',
|
|
href: '/guides/database/webhooks',
|
|
description: 'Send row changes to an external HTTP endpoint.',
|
|
},
|
|
{
|
|
title: 'Replication and read replicas',
|
|
href: '/guides/database/replication',
|
|
description: 'Stream changes to other systems or read from a geographically closer replica.',
|
|
},
|
|
{
|
|
title: 'Backups',
|
|
href: '/guides/platform/backups',
|
|
description:
|
|
'Daily backups on every project, with point-in-time recovery on paid plans. Backups cover the database itself; objects stored through the Storage API are not included.',
|
|
},
|
|
{
|
|
title: 'Query performance and optimization',
|
|
href: '/guides/database/query-optimization',
|
|
description: 'Indexes, the query planner, and tools for finding slow queries.',
|
|
},
|
|
{
|
|
title: 'Roles and permissions',
|
|
href: '/guides/database/postgres/roles',
|
|
description: 'The Postgres roles Supabase ships with and how to add your own.',
|
|
},
|
|
{
|
|
title: 'Deployment & Branching',
|
|
href: '/guides/deployment',
|
|
description:
|
|
'Preview environments, branching, migrations, and production readiness for your database changes.',
|
|
},
|
|
],
|
|
}
|