© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
4 replies
Niranjan

Need help with pushing local changes to supabase remote

When I tried db push I got the below error. I don't know how to resolve it. Do I need to drop the RLS policies for this to work?
I'm have my project on supabase.com

ERROR: cannot alter type of a column used in a policy definition (SQLSTATE 0A000)

policy Allow AMDIN to insert subscription data on table subscriptions depends on column "role"

At statement: 9

alter table "public"."profiles" alter column role type "public"."user_role" using role::text::"public"."user_role"
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

sync remote db changes to local
SupabaseSSupabase / help-and-questions
4y ago
Getting error when pushing local migrations to supabase.
SupabaseSSupabase / help-and-questions
4y ago
Loveable to Local Environment -- Need help migration Supabase
SupabaseSSupabase / help-and-questions
6mo ago
Local <--> Remote Migrations Help
SupabaseSSupabase / help-and-questions
3y ago