GandalfG
08/10/2021, 3:21 PMGandalfG
08/10/2021, 3:22 PMScott P
08/10/2021, 3:23 PM(uid() = user_id)
(assuming that user_id
is the name of your column where the user ID is stored) should fix it. Again, PG is weird about camelCasing in most places, including column names and table namesishaba
08/10/2021, 3:23 PMInviting user failed: Database error finding user
and can't figure out how to solve it (i don't even need the old users)Sduu_
08/10/2021, 3:24 PMSduu_
08/10/2021, 3:24 PMGandalfG
08/10/2021, 3:27 PMishaba
08/10/2021, 3:27 PMSduu_
08/10/2021, 3:46 PMishaba
08/10/2021, 4:39 PM${action} failed: Database error finding user
Scott P
08/10/2021, 5:13 PMswiss
08/10/2021, 5:42 PMfrubalu
08/10/2021, 5:48 PMfrubalu
08/10/2021, 5:50 PMcreate type post_status as enum ('ACCEPTED', 'DECLINED', 'PENDING');
ALTER TABLE posts
ADD COLUMN status post_status;
Scott P
08/10/2021, 5:51 PMfrubalu
08/10/2021, 5:51 PMScott P
08/10/2021, 5:51 PMfrubalu
08/10/2021, 5:52 PMScott P
08/10/2021, 5:52 PMScott P
08/10/2021, 5:53 PMaiddun
08/10/2021, 7:22 PMBreci
08/10/2021, 7:48 PMfirebase.auth().signInWithCustomToken(token)
?
Basically it creates an user without an email, and a userId based on the JWT token provided and the signIn check that userMihai Andrei
08/10/2021, 7:54 PMMihai Andrei
08/10/2021, 7:54 PMGandalfG
08/10/2021, 7:54 PMMihai Andrei
08/10/2021, 7:54 PMGandalfG
08/10/2021, 7:54 PMMihai Andrei
08/10/2021, 7:54 PMBreci
08/10/2021, 7:55 PMMihai Andrei
08/10/2021, 7:56 PM