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

    bajosi

    12/16/2021, 8:30 PM
    you are probably using upload method wrong, you must upload via buffer not path
  • b

    bajosi

    12/16/2021, 8:32 PM
    ``For React Native, using either Blob, File or FormData does not work as intended. Upload file using ArrayBuffer from base64 file data instead, see example below.``
  • b

    bajosi

    12/16/2021, 8:32 PM
    https://supabase.com/docs/reference/javascript/storage-from-upload
  • c

    cookie mob

    12/16/2021, 8:41 PM
    Thank you
  • f

    FrankS

    12/16/2021, 9:02 PM
    Keep getting a "Failed to submit support ticket: Internal Server Error" - everything ok?
  • s

    sswatson

    12/17/2021, 2:02 AM
    Are realtime subscriptions supposed to not work for unauthenticated users? I'm troubleshooting my app, and that's the only thing left I can think of that would explain why the subscription handler is dormant if I'm not logged in. RLS seems to be correct, since I can select just fine. The subscription object also does say "joined" for its status.
  • g

    garyaustin

    12/17/2021, 2:07 AM
    https://github.com/supabase/supabase/discussions/4342
  • s

    sswatson

    12/17/2021, 2:09 AM
    Thanks! I searched for that but didn't have any luck finding it. I appreciate the help.
  • s

    shivam51

    12/17/2021, 2:33 AM
    I have a table created using
    Copy code
    sql
    create table testing(
        id bigint generated by default as identity primary key,
        full_name text,
      -- Set of key-value pairs, used to store additional information about the object in a structured format.
        metadata jsonb
    )
    but this throws error when trying to insert values into it using the sql editor. My command was
    Copy code
    sql
    insert into testing(full_name) values("Shivam");
    The error is "column "Shivam" does not exist". Why is it so?
  • s

    shivam51

    12/17/2021, 2:33 AM
    isn't this the right syntax to insert value?
  • j

    jensen

    12/17/2021, 3:51 AM
    postgres expects
    '
    quotes
    insert into testing (full_name) values ('Shivam');
  • d

    DevilsBlade0

    12/17/2021, 6:32 AM
    Hey guys, any right approach to make a table of the list of transactions for every user? Making a bookkeeping app, and want each user to have a separate table for their transactions
  • d

    DevilsBlade0

    12/17/2021, 6:42 AM
    create table table_name ( id bigint generated by default as identity primary key, product_id uuid references products (id) on delete cascade, data jsonb, name text );
  • d

    DevilsBlade0

    12/17/2021, 6:42 AM
    is this the right approach? Thank you
  • d

    DevilsBlade0

    12/17/2021, 6:48 AM
    https://stackoverflow.com/questions/50143279/django-postgresql-user-specific-table
  • b

    Bryan K.

    12/17/2021, 7:14 AM
    Is there a way to save/manage the DB schema with a file in a project repo?
    s
    • 2
    • 2
  • m

    Muphet

    12/17/2021, 7:22 AM
    good thing that im not using anything in prod YET
  • m

    Muphet

    12/17/2021, 7:23 AM
    and support be like: "can you share some code and steps to reproduce?" please ._.
  • m

    Muphet

    12/17/2021, 7:24 AM
    @User hopefully you can find an issue before im forced to recreate whole db
  • m

    Muphet

    12/17/2021, 7:25 AM
    + https://discord.com/channels/839993398554656828/843999948717555735/921031642716467201
  • s

    shivam51

    12/17/2021, 8:54 AM
    Why am I getting this error?
  • s

    shivam51

    12/17/2021, 8:54 AM
    It sayas "Property 'storage' does not exist on type 'SupabaseClient'.ts(2339)"
  • s

    shivam51

    12/17/2021, 8:55 AM
    SupabaseClient.ts simply creates the client
  • p

    productdevbook

    12/17/2021, 9:30 AM
    some problem
  • a

    Anoushk

    12/17/2021, 9:38 AM
    supabase giving 500 for me
  • a

    Anoushk

    12/17/2021, 9:38 AM
    i cleared browser cache and now it doesnt even login
  • l

    laznic

    12/17/2021, 9:39 AM
    Seems to be the Supabase dashboard since my prod site is able to fetch data from the db just fine
  • a

    Anoushk

    12/17/2021, 9:40 AM
    exactly like this
  • d

    Dominik

    12/17/2021, 9:41 AM
    can confirm, getting 500 on dashboard, but no issues so far in production
  • a

    Anoushk

    12/17/2021, 9:41 AM
    yea app seems to work
1...161162163...316Latest