thisisgoldman
01/04/2022, 12:13 AMpublic
schema.
The table I'm trying to subscribe to is in a schema called stripe
Here is how I set up the subscription:
js
const subscription = supabase
.from(`stripe.subscription`)
.on("UPDATE", (payload) => {
setUser({ ...user, ...payload.new });
})
.subscribe();
It doesn't appear to work. It looks like it prepends to the public schema. Any feedback or advice?thisisgoldman
01/04/2022, 12:36 AMrealtime:public
garyaustin
01/04/2022, 1:15 AMgaryaustin
01/04/2022, 1:16 AM