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

    chipilov

    11/26/2021, 8:17 AM
    https://postgrest.org/en/latest/schema_cache.html#reloading-with-notify
  • c

    chipilov

    11/26/2021, 8:18 AM
    you can execute that in the Dashboard SQL editor
  • l

    letourpowerscombine

    11/26/2021, 8:22 AM
    Great, thank you so much again
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:11 AM
    Yo again
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:11 AM
    struggling with supabase subscriptions :3
    m
    • 2
    • 23
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:11 AM
    Copy code
    js
      React.useEffect(() => {
        const userOnUpdateSubscription = supabase
          .from(`users:userId=eq.${currentAuthUser?.id}`)
          .on('UPDATE', (payload) => {
            console.log('Change received!', payload)
          })
          .subscribe()
    
        return () => {
          supabase.removeSubscription(userOnUpdateSubscription)
        }
      }, [currentAuthUser?.id])
    Am I doing something wrong here 🤔
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:12 AM
    When I'm updating the user I'm not seeing the console log
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:12 AM
    Imma try see if it works for all users and all types of operations
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:12 AM
    if not then it is something else that's wrong lol
  • t

    Tiger Abrodi 🐆

    11/26/2021, 9:15 AM
    Copy code
    js
      React.useEffect(() => {
        const userOnUpdateSubscription = supabase
          .from('users')
          .on('*', (payload) => {
            console.log('Change received!', payload)
          })
          .subscribe()
    
        return () => {
          supabase.removeSubscription(userOnUpdateSubscription)
        }
      }, [currentAuthUser?.id])
    This doesn't work too, cmon boss 😩
  • m

    Maus

    11/26/2021, 9:32 AM
    Supabase Subscriptions
  • c

    copple

    11/26/2021, 10:42 AM
    Happy thanksgiving everyone!! 🦃 🎉
  • c

    chipilov

    11/26/2021, 11:57 AM
    Happy Thanksgiving, Supabase!
  • j

    jonny

    11/26/2021, 2:45 PM
    Pre-Launch Week Announcement https://discord.gg/UkHZ7fxU
  • a

    Ant

    11/26/2021, 2:47 PM

    https://www.youtube.com/watch?v=crXBpOe8YYA▾

    Pre-launch week live stream
  • h

    HarryET

    11/26/2021, 2:47 PM
    Hey! 👋🏻
  • f

    Fatuma

    11/26/2021, 3:26 PM
    Did the call just drop?
  • h

    HarryET

    11/26/2021, 4:18 PM
    Se ya @User!
  • f

    Fatuma

    11/26/2021, 5:28 PM
    Hey, Could we have an open-src-for-dummies, with a focus on supabase ofcourse, session or something? Pretty please
  • t

    Tiger Abrodi 🐆

    11/26/2021, 6:08 PM
    🎉 🎉 🧡
  • t

    Tiger Abrodi 🐆

    11/26/2021, 6:08 PM
    https://tenor.com/view/happy-love-anime-naruto-smile-gif-17384506
  • h

    HarryET

    11/26/2021, 8:16 PM
    What would you want to be in it, maybe I could help 😛
  • e

    eric11

    11/26/2021, 8:58 PM
    Any update? Happy to create a GH issue for this, but I would expect it to be documented somewhere, especially since self-hosting users would also need to change auth settings like this?
  • u

    user

    11/26/2021, 10:36 PM
    Hey! Sorry if this was asked before, but is there any help needed/wanted for developing supabase-community packages for go? I read there is some development going on apart from postgrest-go
  • c

    copple

    11/26/2021, 11:59 PM
    Could you please add an issue in the CLI repo?
  • b

    bent

    11/27/2021, 12:59 AM
    Can someone confirm a bug (?) I found? With the JavaScript client, there is a method called
    storage.from("").getPublicURL("")
    This will however not return the public URL you get from the UI, which ends with the file name, but one that ends on the file id: client:
    https://[].supabase.co/storage/v1/object/public/[your bucket name]/[file id]
    (also notice how one reads supabase.in and the other one supabase.co) ui:
    https://[].supabase.in/storage/v1/object/public/[your bucket name]/[file name]
    now the issue is that the url the client returns actually 400s:
    {"statusCode":"400","error":"Access Denied","message":"Access Denied"}
  • a

    anonaki

    11/27/2021, 3:08 AM
    I would like to run commands like alter table in an external client like dbweaver. The postgres user doesn't have these privileges, so what would be the best approach? 1. Is it possible to use the supabase_admin user in the external client, if so, how does one get the password? 2. Elevate the postgres users privileges. 3. Create a new user with supabase_admin privileges ?
  • a

    anothercoder

    11/27/2021, 3:49 AM
    Not sure if this helps. For createSignedUrl, it is ".../object/sign/...". For getPublicUrl, it is ".../object/public/...". Copy URL in UI seems to create a signed url. Signed urls end with a jwt token "?token=XXX".
  • f

    Fatuma

    11/27/2021, 4:37 AM
    @HarryET the process I guess. I've never contributed to open source. I dd clone supabase repo but when i run it, it seems to only show the site without other functionality.. not sure if its a me thing but would love to try get more involved
  • a

    anothercoder

    11/27/2021, 8:44 AM
    Select the rows and "Export to csv". Or u can install postgresql-13 and connect directly to the db at port 5432.
1...145146147...392Latest