srosato
04/21/2022, 6:01 PMsignUp({phone:'+15141234567', password: 'some-password')
(with of course my real number) but I get the error Error sending confirmation sms: json: cannot unmarshal number into Go struct field SmsStatus.status of type string
I tried restarting my server on the dashboard to no avail. Any clues?Lars
04/21/2022, 8:21 PMlibovness
04/21/2022, 9:33 PMDanMossa
04/22/2022, 12:27 AMSELECT u.first_name, u.date_of_birth, u.profile_picture_urls
FROM public.users u
JOIN likes l on u.user_id = l.to_user_id
WHERE l.from_user_id = '34fca6cd-4c6e-49f5-87c7-e0e3ff461509'
I did something like this as a test
final PostgrestResponse res = await _supabase.client
.from(_users)
.select('*, likes!inner(*)')
.eq("likes.from_user_id", callingUser.userId)
.execute();
but I'm getting an error because there are multiple foreign keys. Any ideas?robin
04/22/2022, 2:35 AMbegin
update spells
set timesPlayed = timesPlayed + 1
where code = spellcode;
end;
I'm getting an error about how the column timesplayed
doesn't exist, and maybe I meant timesPlayed
(even though that's obviously what I have in the function). Any easy way to fix this?casualgardener
04/22/2022, 3:44 AMkresimirgalic
04/22/2022, 12:42 PMxephyr
04/22/2022, 3:11 PMsupabase start
is deliberate and not a bug as I first though.
> but it should still work 100% through the API
I don't know what this means. I've tried to create a dummy page to create a bucket called avatars
, with the intention of then removing that code and implementing the actual functionality for updating/reading from that bucket. I get an RLS error. I cannot configure the RLS settings for Storage because Storage is not in my Studio, so I can't access "Storage > Policies" to configure it. Catch 22. Seems impossible to use locally?
My question is this, can we currently only develop applications that need to use Storage by connecting directly to the cloud Studio? If not, and there is a way to use the Storage API locally, I would very much appreciate any pointers! Thanks in advance.joshcowan25
04/22/2022, 4:31 PMVM
04/22/2022, 5:34 PMLars
04/22/2022, 7:48 PMchops
04/22/2022, 8:26 PMjustcode123
04/22/2022, 9:19 PMxHect
04/22/2022, 11:14 PMFailed to delete user: update or delete on table "users" violates foreign key constraint "objects_owner_fkey" on table "objects"
i dont have any info matching to this user on any tables, ive gone through and deleted the table that did contain informationLucaR
04/22/2022, 11:15 PMstevharve
04/23/2022, 12:47 AMAlbert [tox/cis]
04/23/2022, 10:39 AMplpgsql
which returns heterogeneous data? I've tried using plv8
for this but plv8
modifies nested arrays which ruins my data structure for the front-end (e.g., it turns [['a', 'b', 'c'], ['d', 'e', 'f']]
into ['a', 'b', 'c', 'd', 'e', 'f']
).anand
04/23/2022, 11:40 AMbobmolgui
04/23/2022, 1:03 PMmax
04/23/2022, 3:50 PMDayZee (they/them)
04/23/2022, 5:18 PMabaum
04/23/2022, 6:26 PMBryson_W
04/23/2022, 11:48 PMsavannah
04/24/2022, 6:31 AMakito
04/24/2022, 9:05 AMuserData.data
since I know userData.user
is null when an anon or service role token is provided. Also, what's the easiest way to forbid users from any database access and only allow function access?anon_123
04/24/2022, 4:27 PMFailed to delete user: update or delete on table "users" violates foreign key constraint "todos_user_id_fkey" on table "todos"
Sraleik
04/24/2022, 4:30 PMgehrig
04/24/2022, 8:05 PMFailed to invite user: Database error saving new user
and 500 error in the logs.
This is after adding a trigger to update my profiles table from user auth additions. I see it is a common error from a search, but I'm not sure what the solution for me is. Any suggestions?HugoDuprez
04/25/2022, 6:46 AMjustcode123
04/25/2022, 9:05 AM