storage schema.db pull --local --schema public,auth,storage.db reset --local is failing on the same permission error.(select auth.uid()) instead of auth.uid(). Apparently, this improves performance. The db pull ... command worked fine here.db pull --local ... which didn't work. I thought I messed up my DB somehow and decided to reset it. That, too, didn't work.