© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
4 replies
Dev
Trying to alter a jsonb column's default type to be empty jsonb.
I
'm attempting to run this
:
alter table public
.profiles ALTER COLUMN socials jsonb not null default
'
{
}
'
:
:jsonb
Getting this error
:
Failed to validate sql query
: syntax error at or near
"jsonb
"
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
set the default value of a jsonbarray column
S
Supabase / help-and-questions
3y ago
Unable to filter on jsonb array column
S
Supabase / help-and-questions
4y ago
Using contains query for a nested jsonb column
S
Supabase / help-and-questions
4y ago
Is it possible to mention type of jsonb
S
Supabase / help-and-questions
4y ago