https://supabase.com/ logo
Join Discord
Powered by
# faq
  • o

    Olyno

    09/08/2021, 7:00 PM
    > My Supabase mails go to spam Change the default email template. It doesn't tell users what the link is for and looks really generic - it's not that strange that email clients might mark it as potential spam. Using a third-party email server such as SendGrid can also help. - @User
  • s

    silentworks

    09/10/2021, 8:58 PM
    > How do I redirect to a preview url on Vercel or Netlify The signIn and signUp functions in the supabase-js client takes an additional parameter where you can state the redirectTo. You can see an example here https://github.com/supabase/supabase/discussions/2760#discussioncomment-1144158
  • o

    Olyno

    05/03/2022, 11:51 AM
    > How can I change the domain name of Supabase or change the project name when authenticating with third parties? To do this, you must add a custom domain name, which, for the moment, Supabase does not yet support. This feature is planned and under development: Workaround: A workaround is available here:
  • o

    Olyno

    05/09/2022, 8:54 PM
    > Is it possible to transfer the ownership of a Supabase project? Not yet possible, but under discussion. You can follow its progress on this discussion link:
  • o

    Olyno

    05/12/2022, 11:15 PM
    > I'm getting an error when trying to setup Graphql: ``The schema must be one of the following: public, storage, graphql`` Try this answer:
  • o

    Olyno

    05/14/2022, 3:30 PM
    > Can Supabase scale? You can scale your project vertically by going into the dashboard, settings / billing & usage / change subscription / edit plan configuration. - @burggraf
  • g

    garyaustin

    06/19/2022, 3:06 PM
    > Why is my camelCase name not working in Postgres functions or RLS policies? Avoid camelCase (upper case letters) if it all possible in Postgres for naming of functions, tables, columns, vars. You must enclose "camelCase" in double quotes when you define it or use it. YOU WILL FORGET. Use snake_case instead and make your life easier. Note to Prisma users, you will likely have to deal with it.
  • o

    Olyno

    07/07/2022, 2:12 PM
    > How to use Supabase auth with React Native? React Native needs a couple of different setup options... Have a look there: Or a bit older: - @garyaustin
    c
    s
    • 3
    • 4
  • g

    garyaustin

    08/07/2022, 11:59 PM
    If you use Prisma, and are having issue with Realtime, like getting a 401 error or no messages when you update the tables (with RLS on or off) then please see https://supabase.com/docs/guides/integrations/prisma#troubleshooting. Prisma messes up the grants on the public schema and you need to restore them so Supabase can access it for various activities, including Realtime.
  • o

    Olyno

    09/09/2022, 2:36 PM
    > How can I make a role-based system? There is no built-in for that. Please have a look here:
  • c

    chrisciokler

    10/31/2022, 2:18 PM
    How to use Supabase auth with React
  • g

    garyaustin

    12/18/2022, 4:39 PM
    > How do I get PostgREST 10 or use explain() thru the API on my hosted instance? To get PostgREST 10 on an existing instance you need to pause and restore your instance. New instances as of early December "should" have it installed already. If you have a Pro plan you will need to contact support or migrate to a new instance. There is no current way to check you have it, other than the rest of this will not work if you don't 😎 . To use the new explain() features with the javascript client see information here: https://github.com/supabase/postgrest-js/blob/master/src/PostgrestTransformBuilder.ts#L175 You will need to run these two commands in the SQL editor 1 time to enable the feature AFTER you have PostgREST 10.
    Copy code
    alter role authenticator set pgrst.db_plan_enabled to true;
    NOTIFY pgrst, 'reload config';
    Please refer to Postgres documentation for information on how to use explain for analysis of performance.