ktosiek
12/26/2021, 12:48 PMnaram.dash
12/26/2021, 4:25 PMview
?
I create only select only policy, so rows in referenced table cannot be deleted by table autogenerate http api
But, deleting rows from view autogenerate http api is workingktosiek
12/26/2021, 4:31 PMfalse
naram.dash
12/26/2021, 4:42 PMlorencerri
12/26/2021, 6:29 PMktosiek
12/26/2021, 6:45 PMktosiek
12/26/2021, 6:48 PMktosiek
12/26/2021, 6:48 PMlorencerri
12/26/2021, 6:57 PMsql
begin
-- Insert/Update clone of identity_data:
insert into public.identities (id, identity_data)
values (new.id, new.identity_data)
ON CONFLICT (id) DO UPDATE
SET id = excluded.id,
identity_data = excluded.identity_data;
-- Drop email property of identity_data object:
UPDATE public.identities
SET identity_data = identity_data::jsonb #- '{email}';
return new;
end;
::jsonb #- '{email}';
to the ends of where you're setting the data works, this seems much better as there isn't a period where the email is just sitting there in the public table, thank you very much for the help ktosiek :)Prefix
12/26/2021, 8:28 PMPrefix
12/26/2021, 8:28 PMbinajmen
12/26/2021, 8:59 PMjonstuebe
12/27/2021, 12:27 AMjonstuebe
12/27/2021, 12:39 AMsupabase.auth.signUp
and that will let you locally create a user with a passanothercoder
12/27/2021, 1:19 AMbinajmen
12/27/2021, 6:02 AMoliviercp
12/27/2021, 7:35 AMsharif
12/27/2021, 7:52 AMchizom
12/27/2021, 8:59 AMchizom
12/27/2021, 9:00 AMchizom
12/27/2021, 9:00 AMchizom
12/27/2021, 9:00 AMchizom
12/27/2021, 9:00 AMchizom
12/27/2021, 9:01 AMchizom
12/27/2021, 9:01 AMktosiek
12/27/2021, 9:05 AMktosiek
12/27/2021, 9:06 AMktosiek
12/27/2021, 9:06 AMchizom
12/27/2021, 9:06 AMchizom
12/27/2021, 9:24 AM