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

    Ant

    09/13/2021, 1:08 PM
    looks like newObject doesn't have a value for
    id
    ?
  • m

    Miguel

    09/13/2021, 1:14 PM
    It does, I fixed it by
    deleting
    the target table and assinging the
    Is Identity
    property of
    id
    column primary-key checkbox to
    checked
  • m

    Miguel

    09/13/2021, 1:15 PM
    There's far too many bugs and issues with Supabase
  • b

    bokolesnik

    09/13/2021, 1:46 PM
    Hello, why am I receiving an empty array with just let { data: categories, error } = await supabase .from('categories') .select('*')
    s
    • 2
    • 3
  • s

    Scott P

    09/13/2021, 1:57 PM
    That error in your screenshot was one that the Postgres server itself raised, and would happen even if you were going direct to a non-supabase Postgres instance
  • m

    Michael Ketzer | streamgeist.com

    09/13/2021, 2:13 PM
    Is there a roadmap or release blog?
    s
    • 2
    • 2
  • e

    erik_flywheel

    09/13/2021, 2:16 PM
    Is there anyway to reset a password WITHOUT using the built in reset password process? I'd like to create my own OTP and send it to the user through our verified email address and post that as the user's password.
  • m

    Miguel

    09/13/2021, 3:37 PM
    I fixed, but there's a swarm of other issues that slow our team development... 😞
  • m

    Miguel

    09/13/2021, 3:38 PM
    This just appears out of no where all the time, for no reason;
  • m

    Miguel

    09/13/2021, 3:39 PM
    Pasting excel/google sheets data to generate a table, does not work just for columns, with no data... (gives the same error)
  • m

    Miguel

    09/13/2021, 3:42 PM
    The table columns do not allow for changing the
    type
    of column (ie: varchar to text or anything else...) Showing this error, making us delete a table and create a new one correctly...
  • f

    frubalu

    09/13/2021, 5:08 PM
    Hey everybody! Quick question. I'm trying to delete an entry from my
    categories
    table, however it isn't deleting due to a foreign key constraint. I have a join table named
    category_items
    , which is where it's failing. How can I alter the table to allow for a
    ON DELETE CASCADE
    ? I'm looking to automatically delete entries from
    category_items
    whenever attempting to delete an entry from
    categories
    .
    b
    • 2
    • 3
  • s

    silentworks

    09/13/2021, 5:15 PM
    @User can you create a thread with the issues you are having please? also if they are related to the platform itself you can use the feedback widget in the dashboard to report them along with the steps it took you to get the errors.
  • s

    silentworks

    09/13/2021, 5:17 PM
    Roadmap or release blog
  • s

    silentworks

    09/13/2021, 5:19 PM
    This would be a good feature to have, maybe raise it in #867348150741237790
  • s

    silentworks

    09/13/2021, 5:20 PM
    Why am I receiving an empty array when I do a select
  • f

    frubalu

    09/13/2021, 5:48 PM
    alter table to allow CASCADE DELETE
  • b

    Brock

    09/13/2021, 6:23 PM
    How would one right a policy that says a user can query everything from a table if their
    public.profiles
    field
    role
    is set to
    "admin"
    ??
  • b

    Brock

    09/13/2021, 6:44 PM
    Or is that not an option since that would require including another table in the policy?
  • i

    ivanq3w

    09/13/2021, 6:50 PM
    Is it possible to access Supabase storage S3 directly, just like Database?
  • j

    jbergius

    09/13/2021, 7:01 PM
    Is it possible to determine if the user is signing in for the first time? For example with email/password-signup, and after the user is being redirected to the app after confirming their email?
  • b

    Brock

    09/13/2021, 7:04 PM
    if you have a
    public.users
    table as well you can check the
    uid
    against that table
  • j

    jbergius

    09/13/2021, 7:06 PM
    yes, I have a public users-table, but don't know how that would help me? The uuid will be there independent if it's the first or the fourth time the users is logging in!? Correct me if I'm wrong.
  • b

    Brock

    09/13/2021, 7:09 PM
    If you do not have a trigger/function set up, then the
    public.users
    table will not have a new line until you insert one. So the
    uid
    of the row in
    auth.users
    will match the foreign key of
    user_id
    in
    public.users
    . So they should be unique and not repeat. Once a user registers you can redirect them to say
    /profiles
    and from there query for their
    session.user.id
    in the
    public.users
    table and if it does not exist, this is a new user. Of course this is just one way and I am sure there are other, more effective ways.
    j
    • 2
    • 7
  • s

    spencer

    09/13/2021, 7:29 PM
    I'm new to this, how could I go about restricting what sort of characters are allowed to go into one of my text columns? For example I want a username column with no whitespace, only certain characters, and only a certain maximum length
  • b

    Brock

    09/13/2021, 8:31 PM
    how could i say that someone with the field
    role
    with value
    admin
    can select all rows from the that table?
  • b

    Brock

    09/13/2021, 8:37 PM
    I thought i could make the policy like this but i must not be understanding correctly?
    Copy code
    profiles.role() = admin
  • a

    alexandre

    09/13/2021, 8:58 PM
    hi! My supabase server is down.. where do I can help?
  • a

    alexandre

    09/13/2021, 9:01 PM
    I restarted my app several times
  • a

    alexandre

    09/13/2021, 9:11 PM
    https://fttdipmtsfhnjcgijuot.supabase.co/rest/v1/assuntos?select=url&nome=eq.Reescrita+de+Frases.+Substitui%C3%A7%C3%A3o+de+palavras+ou+trechos+de+texto.&apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyMjg2Njg2MCwiZXhwIjoxOTM4NDQyODYwfQ.Kqh4zbVw4W1dY7lom5qQYCCBWqGlUYj3kzjKW3RjAHs
1...858687...316Latest