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

    AlanK

    08/23/2021, 6:29 AM
    When I create new tables in public schema via the dashboard the owner is 'supabase admin' how do I create tables I can modify in pgadmin?
  • j

    jason-lynx

    08/23/2021, 6:38 AM
    the client that uses
    supabase.auth...
    and
    supabase.from
    is the same one - it is the one initialized with url and public anon key, as you mentioned. assuming row-level security (RLS) is not implemented, this will have access to your database tables in the
    public
    schema (i.e. reads and writes are not restricted). to apply RLS and secure your database, you can follow this example: https://supabase.io/docs/learn/auth-deep-dive/auth-row-level-security
  • j

    jason-lynx

    08/23/2021, 6:42 AM
    1 way is to alter the table ownership to another user that you use to connect to the db in pgadmin:
    ALTER TABLE public.<your table> OWNER TO <your-pgadmin-user>;
  • j

    jason-lynx

    08/23/2021, 6:42 AM
    another way is to just create tables as the pgadmin user after you connect there
  • a

    AlanK

    08/23/2021, 6:44 AM
    Thanks @User - it seems obvious now 😆
  • u

    user

    08/23/2021, 7:56 AM
    Q: Dev and prod supabase instance on supabase.io? Hey guys, what would be the easiest way to manage two version of DB? How would you apply changes from dev instance to production instance? Thanks!
  • h

    HorseShoe

    08/23/2021, 8:25 AM
    Is it possible to allow only certain fields to be selected for auth.uid() = id etc
  • h

    HorseShoe

    08/23/2021, 8:56 AM
    nvm i can just use views
  • h

    HorseShoe

    08/23/2021, 8:56 AM
    i think
  • t

    tricked

    08/23/2021, 5:52 PM
    is it possible to download a zip or something from supabase storage?
  • h

    HorseShoe

    08/23/2021, 6:24 PM
    If u upload a zip then ya ig
  • t

    tricked

    08/23/2021, 6:28 PM
    yeah i ment a zip from a whole dir/bucket but guess not lol
  • n

    novon

    08/23/2021, 6:31 PM
    Is there a way to export the whole users table as a CSV from Supabase?
  • s

    silentworks

    08/23/2021, 7:20 PM
    You can use a standalone Postgres client and connect to the database and export them, something like TablePlus
  • w

    wiesson

    08/23/2021, 7:30 PM
    Can I somehow query the auth.users table? I'd like to create a dashboard overview where editors/admins can see the latest signups (including their mail-adresses). I also have a public users table with RLS for the profile but I don't want to store the email adress in the public table.
  • c

    CrisCodeCruncher

    08/23/2021, 9:18 PM
    Hello. I am wondering if it is possible to have multiple (two) sessions going at the same time on the same browser in the same tab? I am making an application where there are two players and i need them to both be logged in within the same window. im using react btw.
  • t

    ThisIsJustin

    08/23/2021, 9:18 PM
    Thanks for the suggestion! Got it working!
  • j

    jon.m

    08/23/2021, 10:05 PM
    @User wouldn't the players be using separate browsers/
  • j

    jon.m

    08/23/2021, 10:26 PM
    This answered my question about selecting related data on the user table. It's not public, so it won't work. Instead, I have to relate everything to a "profiles" table that sits beside my user table. Not an answer to your question, but I thought I'd let you know you inadvertently answered my question.
  • w

    wiesson

    08/23/2021, 10:29 PM
    But if the user changes the email address I have to sync it as well to the profile :/
  • j

    jon.m

    08/23/2021, 10:29 PM
    You can set up a trigger, right?
  • d

    DeadlyDev

    08/23/2021, 11:58 PM
    Anyone know of a good article or maybe somewhere in the docs that I've over looked about rate limiting API calls from a user?
  • p

    Poypoypoy

    08/24/2021, 1:14 AM
    anyone need help guys, im free
  • c

    CrisCodeCruncher

    08/24/2021, 1:30 AM
    No, they would be using the same browser and browser tab. I have a screen split into two sections and each player has a section. I need to have both players logged in at the same time on the same browser.
  • e

    Edan

    08/24/2021, 2:07 AM
    Is anyone able to provide some guidance on how to use SvelteKit with Supabase Magic link for login?
  • p

    Poypoypoy

    08/24/2021, 2:14 AM
    im reading the Svelekit right now, can you give me some overview for this, after that i try to help you
  • p

    Poypoypoy

    08/24/2021, 2:15 AM
    got it a framework.
  • e

    Edan

    08/24/2021, 2:15 AM
    I'm stuck on the step after an email arrives from Supabase.
  • e

    Edan

    08/24/2021, 2:16 AM
    With the link to login
  • p

    Poypoypoy

    08/24/2021, 2:17 AM
    how|?? the magic link for login is only to confirm the email then redirect you in your page
1...606162...316Latest