https://supabase.com/ logo
Join Discord
Powered by
# help
  • j

    Jan Tennert

    05/28/2022, 4:50 PM
    How do I actually upload an file e.g. image to supabase storage? The swagger api doesn't mention it or I might be blind.
    n
    b
    g
    • 4
    • 13
  • v

    Verite

    05/28/2022, 10:10 PM
    Hello I'm curious to know what font does supabase use?
    n
    s
    • 3
    • 3
  • u

    (d,f,g)=> 🥁

    05/28/2022, 10:34 PM
    am i missing something or is the supabase client lib
    900kB
    ?? and there's no way to tree shake it to be smaller? it's really tough to justify adding that to a client bundle and now im in the middle of trying to roll my own...
    n
    g
    • 3
    • 9
  • d

    Derek

    05/29/2022, 3:01 AM
    Hi everyone, is there a way to specify the postgres schema for use with the PG_GRAPHQL extention? Currently appears to only support the public schema..
    n
    • 2
    • 2
  • z

    Zabers

    05/29/2022, 5:32 AM
    Hello, If I'm going to have multiple small projects (more than 2 projects, hobby project), am I going to be billed $25 per project? any way to get something ~$5/project (with more limited capability)?
    n
    b
    • 3
    • 4
  • s

    scon

    05/29/2022, 5:39 AM
    Hello, Enabling connection pool is not saved. I toggled the button and click save button, and I got 'Successfully saved settings' toast. But when refresh the page, the button is disabled.
    n
    g
    • 3
    • 9
  • a

    ash

    05/29/2022, 8:38 AM
    Search all files in bucket
    g
    • 2
    • 8
  • s

    snowshift

    05/29/2022, 6:43 PM
    Struggling to connect Supabase to a GUI or postgres client. I made sure that the password is the same as Supabase database password. Anyone who connected with GUI/client have any advice?
    n
    c
    • 3
    • 7
  • j

    joesaunderson

    05/29/2022, 8:29 PM
    I'm having trouble using the
    pg_graphql
    extension as per the docs - I run
    select graphql.rebuild_schema();
    and all I am getting in my introspection query is the
    heartbeat
    query. Can anyone assist? This seems to be a recent thing, it was working before.
    n
    g
    • 3
    • 10
  • k

    kresimirgalic

    05/29/2022, 8:50 PM
    Hey guys, i want to write a something like this
    Copy code
    query.gt('salary.min', 5000);
    but this doesnt work, i have JSONB save liked this salary: { min: 10000, max: 12000 }
    n
    g
    s
    • 4
    • 4
  • b

    baj

    05/29/2022, 9:48 PM
    Hey guys, so I have an API that supabase authenticated clients need to comunicate with. I want to be able to validate that the sender is an authenticated user server side, but I can't find any docs on that specifically. this is the closest I've found: auth.api.getUserByCookie() https://supabase.com/docs/reference/javascript/auth-user But i can't find anything on how it's implemented.
    n
    g
    • 3
    • 9
  • d

    donatganteng

    05/30/2022, 3:26 AM
    Hi guys, is there any way to do migration (versioning control) on supabase? because currently i just modify it directly on supabase dashboard
    n
    s
    • 3
    • 3
  • m

    MementoMori

    05/30/2022, 6:39 AM
    Hi, I am trying to use GraphQL with supabase using the pg_graphql library but I'm running into an issue. I am using MacOS Monterey and followed the installation instructions for libgraphql parser (into another directory), then tried running make install in the pg_graphql directory as per this link: https://supabase.github.io/pg_graphql/installation/ But I keep getting an error saying that GraphQLParser.h is not found as per the below screenshot. Would appreciate any help in solving this, thanks!
    n
    • 2
    • 1
  • a

    Adi

    05/30/2022, 6:44 AM
    I am using this supabase API https://supabase.com/docs/reference/javascript/auth-api-inviteuserbyemail but I am getting 401 user is not allowed message any idea why so?
    n
    • 2
    • 4
  • r

    rishav

    05/30/2022, 6:47 AM
    I am using supabase with sveltekit (on Cloudflare Pages). I was wondering if the supabse queries/auth should go into the routes-script tag or the endpoints (which I believe only run in the backend). All examples seem to use the script tags, but as the script tags run in the frontend as well - i was worried about security
    n
    • 2
    • 1
  • m

    mycatisred

    05/30/2022, 7:29 AM
    guys anyone know how to intregrate express js with supabase storage i tried to upload file and here is what happen, here is the code
    Copy code
    js
    router.post('/test', async (req, res) => {
      const { files } = req;
      const { data, error } = await supabase.storage
        .from('avatars')
        .upload('acara/test.html', files)
        console.log(data);
        console.log(error);
    });
    n
    a
    • 3
    • 6
  • s

    SkullCutter

    05/30/2022, 9:49 AM
    hi, I'd like to create a function that returns a tableset + some extra properties, i.e an average of a certain value from that tableset, or perhaps that tableset + a foreign table. Currently I only know how to do
    setof <table_name>
    , but I can't find any documentation on how to extend the set to include other properties or perhaps other tables
    n
    a
    s
    • 4
    • 6
  • a

    abraxas

    05/30/2022, 1:33 PM
    Hey all. We are experiencing a lot of issues with Oauth sign in on Safari. Both Google and magic link. It seems like the cookies is not set most of the time. Around 1/6th of the time, it just works to sign in as usual. The same on all platforms, mobile, desktop, but always Safari. Works without a problem in any other browser. We get a 302 to the /auth/v1/callback on Safari, but not a call to /auth/v1/callback on any other platform. Anyone else has any experience with these issues? Thank you
    n
    • 2
    • 2
  • s

    Sun Ce

    05/30/2022, 1:46 PM
    Hello guys! Is the email confirmation still having issues? I'm having problems with my project regarding the emails, the confirmation email doesn't seem to reach destination, but the other options are sending (example: recover password email).
    n
    g
    • 3
    • 16
  • j

    jaitaiwan

    05/30/2022, 2:29 PM
    Hey Folks, I’m wondering, in older articles on the website Supabase recommended schema diffing but in newer articles there’s mentions of libraries like prisma. Is diffing still the recommended way or has the position of the supabase team changed to migrations?
    n
    • 2
    • 1
  • k

    Kilian

    05/30/2022, 2:45 PM
    What is the correct way to reference the supabase auth users table in a prisma file?
    n
    g
    f
    • 4
    • 11
  • j

    Julien

    05/30/2022, 3:00 PM
    Hello there! i've setup my own confirmation email with ```supabase.auth.api.generateLink```& Sendgrid, which works perfectly. But I don't see a way to disable Supabase auto mail on Signup (from Supabase Auth -> Template in the UI) to be sent. How can I disable this automatic send from Supabase ? Thanks !
    n
    g
    • 3
    • 9
  • n

    Needle

    05/30/2022, 6:01 PM
    Hello @Vasco! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
    • 1
    • 2
  • v

    Vasco

    05/30/2022, 6:06 PM
    Hello there! How can I use triggers in self hosted version?
    n
    • 2
    • 1
  • y

    Yeehawlerz101

    05/30/2022, 6:33 PM
    Password Change Flow (Sveltekit)
    n
    s
    • 3
    • 9
  • e

    edgaras

    05/30/2022, 6:56 PM
    What the heck am I doing wrong here?
    Copy code
    js
      const getWriterData = async () => {
        if (session) {
          const { data: writerProfile, error } = await supabase
            .from('writer_profiles')
            .select('desired_title')
            .eq('id', session.user.id)
            .maybeSingle()
          return writerProfile
        }
      }
    
      useEffect(() => {
        getWriterData().then((writerProfile) => {
          setWriterData(writerProfile)
        })
      }, [getWriterData])
    n
    g
    +3
    • 6
    • 16
  • u

    (d,f,g)=> 🥁

    05/30/2022, 11:40 PM
    i have an rpc call that returns a json object, the TS types seem to force that an rpc call will return an array of whatever is given to the generic? is there something i'm doing wrong or is there a way around this?
    Copy code
    js
    const { data } = await supabase.rpc<Record<string, number>>('comments_stats')
    data here is
    Record<string, number>[] | null
    n
    • 2
    • 5
  • b

    baj

    05/31/2022, 1:19 AM
    hi, using postgres-rs, how would I do something like this?
    Copy code
    rs
    pub fn create_client(uri: String, key: String) -> Result<Postgrest, Box<dyn Error>> {
        Ok(Postgrest::new(uri).insert_header("apikey", key));
    }
    n
    • 2
    • 6
  • m

    MementoMori

    05/31/2022, 5:50 AM
    bump!
    n
    g
    • 3
    • 3
  • e

    eskmofficial

    05/31/2022, 8:08 AM
    I'm new to auth and I'm struggling so if anyone has any good resources for jwt and keeping users signed in on web/app platforms that'd be awesome. I'm still not quite sure what to do. I've read about using a refresh token and other stuff, but still a bit confused
    n
    • 2
    • 1
1...278279280...316Latest