Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’4y agoβ€’
3 replies
Pato

How to change the type of my id column

When I try to change my id column type, the supabase give me a error

failed to update pg.columns with the given ID: cannot cast type bigint to uuid
failed to update pg.columns with the given ID: cannot cast type bigint to uuid


how can I fix it?
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

Safe to change the way UUIDs are generated for the auth.users `id` column?
SupabaseSSupabase / help-and-questions
4y ago
Can't change column uuid back from type text to type uuid
SupabaseSSupabase / help-and-questions
3y ago
Change Identify Type Column from starting from 1
SupabaseSSupabase / help-and-questions
4y ago
How to get the ID
SupabaseSSupabase / help-and-questions
3y ago