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

    ricpt

    07/29/2021, 9:46 PM
    that was what I thought. But didn't want to invent the wheel if there is something already
  • r

    ricpt

    07/29/2021, 9:46 PM
    that I didn't knew
  • k

    Kosh

    07/29/2021, 9:48 PM
    ha, found this: https://www.enterprisedb.com/postgres-tutorials/how-implement-column-and-row-level-security-postgresql sounds like its possible. not sure tho about supabase
  • k

    Kosh

    07/29/2021, 9:49 PM
    something like
    Copy code
    GRANT INSERT
      (name, picture, etc)
      ON profile TO public;
  • k

    Kosh

    07/29/2021, 9:50 PM
    @User ๐Ÿ‘†
  • r

    ricpt

    07/29/2021, 9:50 PM
    Strange not needing a policy. Will try.
  • k

    Kosh

    07/29/2021, 9:51 PM
    more on this: https://www.postgresql.org/docs/9.5/ddl-rowsecurity.html
  • j

    jon.m

    07/29/2021, 10:14 PM
    I built an app with Ember and Firebase many years ago.
  • j

    jon.m

    07/29/2021, 10:15 PM
    I remember, to my surprise, the notifications for new comments, etc, come in instantly in real time because some how firebase + ember firebase adapter automagically gave me that feature.
  • j

    jon.m

    07/29/2021, 10:15 PM
    Is supabase with Next similar?
  • o

    Olyno

    07/29/2021, 10:23 PM
    Yeah you could make something similar!
  • j

    jon.m

    07/29/2021, 10:33 PM
    The future is now!
  • a

    alistair

    07/29/2021, 11:22 PM
    Gm
  • r

    ricpt

    07/29/2021, 11:33 PM
    Trying to create tables from my postgres client instead of supabase editor.
  • r

    ricpt

    07/29/2021, 11:34 PM
    permission denied for table users. I'm doing references. Do you know any way?
  • r

    ricpt

    07/29/2021, 11:37 PM
    trying the
    Copy code
    create table leaderboard (
      id uuid references auth.users,
      high_score bigint
    );
  • r

    ricpt

    07/29/2021, 11:37 PM
    throws the same error if you need to test it. operator does not exist: uuid = bigint
  • r

    ricpt

    07/29/2021, 11:40 PM
    If I replace it for auth.users.id it shows that cross-database isn't allowed as well
  • s

    Scott P

    07/29/2021, 11:52 PM
    If you specify
    public
    as the schema for the table, does it work?;
    Copy code
    sql
    CREATE TABLE public.leaderboard (
      id uuid references auth.users,
      high_score bigint
    )
    Also, this probably belongs in the #869405720934744086 channel
  • h

    hieu

    07/30/2021, 1:02 AM
    auth.users.id
  • e

    everconfusedguy

    07/30/2021, 1:50 AM
    Hi here, lets try to use threads everywhere ๐Ÿงต. It is hard to follow the conversation if it is one giant wall of text. Also, a reminder that if you have questions, to post it in our Github discussions - https://github.com/supabase/supabase/discussions. Other users might have the same questions that you have and discussions are more searchable and organised than Discord. We try to answer every question there, since it is easy to filter by unanswered questions and try to help out.
  • a

    a d

    07/30/2021, 2:03 AM
    Are you guys planning to add realtime updates to supabase admin page just like firebase?
  • s

    Scott P

    07/30/2021, 2:16 AM
    If you enable replication, it updates in realtime I believe
  • a

    a d

    07/30/2021, 2:16 AM
    Oh isee let me try
  • a

    a d

    07/30/2021, 2:20 AM
    Where do I find replication
  • a

    a d

    07/30/2021, 2:23 AM
    Yeah got it
  • a

    Azura

    07/30/2021, 2:24 AM
    https://app.supabase.io/project/{your-project-id}/database/replication
  • j

    jon.m

    07/30/2021, 2:38 AM
    Hi everyone,
    e
    • 2
    • 4
  • j

    jon.m

    07/30/2021, 2:38 AM
    What would be the easiest way to paginate queries ?
  • v

    Volkan

    07/30/2021, 2:40 AM
    comes built in?
1...474849...392Latest