GoTrue returns "Database error querying schema" on password auth after direct psql schema application
A Supabase branch database fails all password authentication attempts with HTTP 500 and error "Database error querying schema" after the public schema was applied via direct psql. The main branch with identical auth schema and data works correctly. Root cause is likely missing privileges or incorrect ownership on auth schema objects (especially auth.schema_migrations) caused by direct psql operations, breaking GoTrue's startup schema introspection.
