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

    cptCrunch

    01/25/2022, 11:11 PM
    Can I stop Supabase from saving to local storage
    supabase.auth.token
    ?
    s
    c
    • 3
    • 12
  • g

    garyaustin

    01/25/2022, 11:27 PM
    function hook error
  • a

    ak4zh

    01/26/2022, 7:15 AM
    I have two tables
    product
    and
    shop
    I have created a realtime to product so when a new product is added it shows immediately in my app. The
    product
    table has a foreign relation to shop with column
    shop_id
    how can I get the shop details as will with my subscrition as it only contains shop_id currently
    s
    • 2
    • 2
  • r

    Rutik

    01/26/2022, 8:49 AM
    how to create a new table dynamically from the users table in authentication??
    s
    • 2
    • 4
  • s

    simpautus

    01/26/2022, 10:22 AM
    I started getting 502 "An invalid response was received from the upstream server" to any auth calls. I can't recall changing anything but my NextJS front which works normally if I point it to a fresh Supabase auth. I see nothing wrong in the settings but all I get is that response. Any ideas?
  • c

    chipilov

    01/26/2022, 10:25 AM
    There is an existing issue about this: https://github.com/supabase/supabase/issues/4758. Please, ping support as suggested at the bottom of the thread, but I would also suggest to leave a comment in the ticket that you are also experiencing the issue in order to bump the visibility of the issue
  • o

    osaxma

    01/26/2022, 10:31 AM
    hi @User I've seen your discussion about schema isolation on supabase's repo. I was curious, if you're using realtime, how did you manage to isolate the schema? -- I've started a discussion here btw: https://github.com/supabase/supabase/discussions/5152
    c
    • 2
    • 2
  • c

    chipilov

    01/26/2022, 11:37 AM
    Schema isolation for realtime
  • s

    silentworks

    01/26/2022, 12:17 PM
    how to create a new table dynamically
  • s

    silentworks

    01/26/2022, 12:24 PM
    Can I stop Supabase from saving to local
  • d

    dmitriy.dranko

    01/26/2022, 12:25 PM
    Hey! Whenever I try to INSERT into my DB via BASH instead of the Javascript method, I get row level security issues. Could I get some help with this?
    s
    • 2
    • 56
  • s

    silentworks

    01/26/2022, 12:33 PM
    Realtime with relationships
  • r

    ricardodepaula

    01/26/2022, 12:35 PM
    What I'm doing wrong? I want to upload images to my bucket.
    Copy code
    Bucket name: images,
    function:
    Copy code
    // handle image upload
        const handleFiles = async (e) => {
            const uploadFile = e.target.files[0]
            const { data, error } = await supabase.storage.from('images').upload('images', uploadFile, {
                cacheControl: '3600',
                upsert: false
            })
        }
    input and button:
    Copy code
    <div class="margin-top">
                <label for="images">Upload Proposal Cover</label>
                <input type="file" id="images" max="1" accept=".jpg,.png,.jpeg" />
                <button class="margin-top" on:click={handleFiles}>upload</button>
            </div>
  • s

    silentworks

    01/26/2022, 12:50 PM
    @User please don't cross post between channels. I'm sure someone with knowledge of storage will help you out when they are online from the post above.
  • r

    ricardodepaula

    01/26/2022, 12:51 PM
    @User ok
  • w

    wiesson

    01/26/2022, 1:39 PM
    I guess it has been asked 1000 times, but I can't find it 🙈 I'd like to set the login / redirect URI dynamically - depending on the current host / site. I'm working with feature branches (vercel) so each feature has it's own preview URL.
    Copy code
    supabase.auth.signIn({ email }, { redirectTo: "URL here" })
    // does supabase follow this
    redirectTo
    ?
    s
    • 2
    • 3
  • y

    YelloJello

    01/26/2022, 2:18 PM
    Is FTS on multiple columns supported? or is an RPC my best bet?
    s
    • 2
    • 5
  • s

    silentworks

    01/26/2022, 2:28 PM
    redirectTo
  • s

    silentworks

    01/26/2022, 2:32 PM
    Is FTS on multiple columns supported or
  • j

    joshcowan25

    01/26/2022, 2:50 PM
    How to delete a User from DB
    s
    • 2
    • 7
  • m

    mansedan

    01/26/2022, 4:20 PM
    Hey guys - I have a table where I'd like rows to auto-delete/expire every 10 minutes. How can I go about setting that up? I know I can run some code from my server to query rows that are older than the limit & delete them. but I'm wondering if there is something I can setup internally on supabase
    s
    • 2
    • 2
  • h

    holztisch_3000

    01/26/2022, 5:30 PM
    Hi, is it possible to see the amount of transfer data my project consumed in this month? I can not find any information about it. Thanks
  • s

    silentworks

    01/26/2022, 5:59 PM
    Postgres as a CRON server
  • l

    lorencerri

    01/26/2022, 6:10 PM
    If a table has no RLS, does that mean everybody or nobody has access to view the rows?
  • j

    joshcowan25

    01/26/2022, 6:17 PM
    If there are no policies, but RLS is on, then no body has access. If RLS is off, everybody has access
  • l

    lorencerri

    01/26/2022, 6:30 PM
    Thank you, I appreciate it!
  • k

    Keooo

    01/26/2022, 6:40 PM
    PostgreSQL
    g
    • 2
    • 2
  • s

    Sealion

    01/26/2022, 7:59 PM
    When querying with a foreign key a object is returned, how do i change it so it become key-value
    v
    • 2
    • 7
  • r

    ryan.indigo

    01/26/2022, 8:54 PM
    Wondering if anyone has experience setting up self-hosted Supabase storage connected to S3 bucket. In the docker-compose for storage it includes a space for a Tenant_ID. Does anyone know what Tenant_ID is referring to? Thanks!
    g
    • 2
    • 1
  • d

    Diego Pereira

    01/26/2022, 11:09 PM
    why if my json column is
    null
    i get a type error on the frontend?
    r
    • 2
    • 8
1...204205206...316Latest