https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • o

    Olyno

    12/20/2022, 1:34 PM
    What do you mean?
  • d

    dasha^sasha20/02

    12/20/2022, 1:39 PM
    it' s a virus
  • o

    Olyno

    12/20/2022, 1:41 PM
    I mean, i know what is it lol, it's just your sentence which is funny (no context, just dropped the information xD). Are you having a ransomware attack right now?
  • s

    silentworks

    12/20/2022, 1:50 PM
    Can you clarify what you are saying here? because it is sounding like you are saying you want to be malicious.
  • o

    Olyno

    12/20/2022, 1:50 PM
    That's also what i was thinking in a first place
  • d

    dasha^sasha20/02

    12/20/2022, 2:47 PM
    someone attacked my computer using a virus
  • d

    dasha^sasha20/02

    12/20/2022, 2:47 PM
    i m wonderkng if someone working on cybersecurity
  • f

    Frah🔥

    12/20/2022, 5:22 PM
    Hi guys can someone tell me the minimum requirements to make self-hosted supabase work fine?
  • e

    Elfhild

    12/20/2022, 9:51 PM
    Is supabase realtime broken in unity? do i need to call some update function?
  • e

    Elfhild

    12/20/2022, 9:52 PM
    Channel OnUpdate is never called
  • o

    Olyno

    12/20/2022, 10:17 PM
    Ask in #1006358244786196510 please
  • e

    Elfhild

    12/20/2022, 10:17 PM
    on help i get no response ever
  • e

    Elfhild

    12/20/2022, 10:17 PM
    is there any forum for supabase?
  • o

    Olyno

    12/20/2022, 10:20 PM
    I just checked and you got a response each time you asked (even from me). Note that you're asking on something very special this time (csharp), so there is less people who could help you
  • o

    Olyno

    12/20/2022, 10:21 PM
    I would recommend to ask in the discussions space of the Github instead, you will probably have more chance to get some answers (no promise)
  • s

    Sue

    12/20/2022, 10:39 PM
    any way to be notified when the upgrade docs are available?
  • g

    garyaustin

    12/20/2022, 10:46 PM
    The v2 docs are available. There were a couple of sections that are/were being cleaned up after the new "style" for docs last week (v2 docs have been out for months.) The one section referenced in that particular post now seems to be in the main docs.
  • e

    Elfhild

    12/21/2022, 2:43 AM
    Can i built my game chat using presence? can i expect it will have authentication someday?
  • i

    izurugi

    12/21/2022, 9:58 AM
    wondering if we can find the list of defined table constraints in supabase editor. Would definitely feel helpful to know and just be able to change the constraint of an specific table just by using the editor.
  • s

    silentworks

    12/21/2022, 1:16 PM
    At the moment the table editor doesn't have this feature.
  • h

    Huntedman

    12/21/2022, 3:09 PM
    Hey, how do you guys/gals handle multi environment workflows in supabase?
  • o

    Olyno

    12/21/2022, 3:36 PM
    Hey You can do it using local environment, with the Supabase CLI
  • o

    Olyno

    12/21/2022, 3:36 PM
    But it's only limited to 2 type of env: dev and prod
  • h

    Huntedman

    12/21/2022, 3:44 PM
    I have indeed used the CLI. I even managed to set up home baked "webhook triggers" using pure postgresql. The next roadblock is environment variables. I don't know how would I possibly do migrations or reference environment variable in SQL statements.
  • h

    Huntedman

    12/21/2022, 3:46 PM
    I also don't really like clicking around in the UI all the time, especially when I want to have separate dev and prod environments. Then all the work is doubled, plus I run in to the risk of forgetting to do something in one env.
  • s

    silentworks

    12/21/2022, 3:54 PM
    What sort of environment specific variables would you be having in a database?
  • h

    Huntedman

    12/21/2022, 4:47 PM
    Not in a database per se, but rather in a webhook handler
    Copy code
    create or replace function notify_webhook() returns trigger AS $trigger$
    DECLARE
      rec RECORD;
      notify_url TEXT;
      request_id BIGINT;
      payload_items JSONB;
      payload JSONB;
    BEGIN
      -- Set record row depending on operation
      CASE TG_OP
      WHEN 'INSERT', 'UPDATE' THEN
         rec := NEW;
      WHEN 'DELETE' THEN
         rec := OLD;
      ELSE
         RAISE EXCEPTION 'Unknown TG_OP: "%". Should not occur!', TG_OP;
      END CASE;
    
      payload_items := coalesce(row_to_json(rec),'{}')::jsonb;
    
      payload := json_build_object(
        'record', payload_items
      );
    
      -- Retrieve the URL and body from the trigger arguments
      notify_url := TG_ARGV[0];
    
      -- Call the net.http_post function with the URL and body
      request_id := net.http_post(notify_url, payload);
    
      -- Return the request_id
      RETURN rec;
    END;
    $trigger$ LANGUAGE plpgsql;
    
    create trigger user_profiles_webhook 
      after insert on public.user_profiles
      for each row execute procedure 
      notify_webhook('http://127.0.0.1:3000/api/stripe-create-new-customer');
  • m

    muttonia

    12/21/2022, 9:23 PM
    hey all! big fan of supabase. I'm organizing a hackathon in Feb with around 1000+ attendees. Who can I chat with to discuss a very light partnership and have supabase be the recommended backend infra provider? not necessarily looking for sponsorship, maybe credits for participants or something to that effect? thanks!
  • c

    Clay

    12/22/2022, 3:07 AM
    anybody have thoughts on nextauth / authjs?
  • l

    Lukas

    12/22/2022, 3:42 AM
    oh yay the app directory is broken again
1...322323324...392Latest