© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
11 replies
wieli

How to properly set default values?

Hi, I'm trying to set a default url for my api calls. The col is nullable in the database and I set a default value; however when I insert via the js api without specifying the col it jest gets inserted as null. How do I properly do this?
unknown.png
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

what is default value of $PGPASSWORD and how to set a value ?
SupabaseSSupabase / help-and-questions
4y ago
how to set 'prisma/accelerate'?
SupabaseSSupabase / help-and-questions
3y ago
Supabase default text value is set incorrectly
SupabaseSSupabase / help-and-questions
3y ago
accessing values set in app_metadata security definer
SupabaseSSupabase / help-and-questions
4y ago