Skip to content

Local dev, same table name in public & auth schemas - breaks auth #3440

Answered by awalias
sebtoombs asked this question in Questions
Discussion options

You must be logged in to vote

this is a valid bug so I will spin it into an issue on supabase/cli

the problem is gotrue is using the postgres user, and as you correctly identified the ordering of that user's schema search path matters:

a hot fix would be to reorder the search path so that auth comes first, or you could create a new auth user/role in postgres and plug it in here

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sebtoombs
Comment options

Answer selected by awalias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants