Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: changes in cta

“louis-27”543f720c60fc
diff --git a/studio/components/to-be-cleaned/NoTableState.tsx b/studio/components/to-be-cleaned/NoTableState.tsx
index 7a63f120b68..a7ec70e1690 100644
--- a/studio/components/to-be-cleaned/NoTableState.tsx
+++ b/studio/components/to-be-cleaned/NoTableState.tsx
@@ -15,7 +15,7 @@ const NoTableState: FC<Props> = ({ message }) => {
title="No public tables found"
ctaButtonLabel="Create a new table"
onClickCta={() => {
- router.push(`/project/${ref}/database/tables`)
+ router.push(`/project/${ref}/editor`)
}}
>
<p className="text-sm text-scale-1100">{message}</p>
diff --git a/studio/pages/project/[ref]/auth/policies.tsx b/studio/pages/project/[ref]/auth/policies.tsx
index 610b337af09..d89dafc860e 100644
--- a/studio/pages/project/[ref]/auth/policies.tsx
+++ b/studio/pages/project/[ref]/auth/policies.tsx
@@ -241,7 +241,7 @@ const AuthPoliciesTables = observer(() => {
) : PageState.tables.length > 0 ? (
<NoSearchResults />
) : (
- <NoTableState message="You haven't created a table on the public schema. Get started by creating a new table." />
+ <NoTableState message="A public schema table is required before you can create a row-level security policy" />
)}
<PolicyEditorModal