© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
1 reply
elm

clerk auth

The clerk docs say:

Next, you'll create a tasks table and enable RLS on that table. The tasks table will also contain a user_id column that will use the requesting_user_id() function you just created as it's default value. This column will be used in the RLS policies to only return or modify records scoped to the user's account.

I'm trying to make a user column in my table (using text as the type) with requesting_user_id() as the default value, but supabase has an error creating the column and removes it when i try to save it.

How can I make a user col that references the clerk user in supabase?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Clerk- edge function auth
SupabaseSSupabase / help-and-questions
3mo ago
Clerk Auth with Supabase Edge
SupabaseSSupabase / help-and-questions
5mo ago
Errors after migrating supabase db (Clerk auth integration issues)
SupabaseSSupabase / help-and-questions
6mo ago
Supabase Auth instead of Auth0?
SupabaseSSupabase / help-and-questions
7mo ago