diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 9f7e970d241..26d333582e3 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -802,8 +802,8 @@ export const database: NavMenuConstant = { url: '/guides/database/query-optimization', }, { - name: 'Database linter', - url: '/guides/database/database-linter', + name: 'Database Advisors', + url: '/guides/database/database-advisors', }, { name: 'Debugging and monitoring', diff --git a/apps/docs/pages/guides/database/database-linter.tsx b/apps/docs/pages/guides/database/database-advisors.tsx similarity index 89% rename from apps/docs/pages/guides/database/database-linter.tsx rename to apps/docs/pages/guides/database/database-advisors.tsx index 03b246a7397..1c55e424923 100644 --- a/apps/docs/pages/guides/database/database-linter.tsx +++ b/apps/docs/pages/guides/database/database-advisors.tsx @@ -26,30 +26,30 @@ export const branch = 'main' export const docsDir = 'docs' const meta = { - title: 'Database Linter', + title: 'Performance and Security Advisors', subtitle: 'Check your database for performance and security issues', } const editLink = 'https://github.com/supabase/splinter/tree/main/docs' const markdownIntro = ` -You can use the Database Linter to check your database for issues such as missing indexes and improperly set-up RLS policies. +You can use the Database Performance and Security Advisors to check your database for issues such as missing indexes and improperly set-up RLS policies. -## Using the linter +## Using the Advisors -In the dashboard, navigate to [Database Linter](https://supabase.com/dashboard/project/_/database/linter) under Database. The linter runs automatically. You can also manually rerun it after you've resolved issues. +In the dashboard, navigate to [Security Advisor](https://supabase.com/dashboard/project/_/database/security-advisor) and [Performance Advisor](https://supabase.com/dashboard/project/_/database/performance-advisor) under Database. The advisors run automatically. You can also manually rerun them after you've resolved issues. `.trim() const getBasename = (path: string) => path.split('/').at(-1).replace(/\.md$/, '') -export default function ProjectLinterDocs({ +export default function DatabaseAdvisorDocs({ intro, lints, }: InferGetStaticPropsType) { return ( - Available lints + Available checks {lints.map((lint) => (