charles.morrow
03/02/2022, 6:01 PMirrationaljared
03/02/2022, 8:13 PMauth.uid() in (
> select profile."userId"
> from profile, "_profileToteam", project
> where profile.id = "_profileToteam"."A"
> and "_profileToteam"."B" = project."teamId"
> and project.id = id
> )
but I'm getting the error:
> Error adding policy: column reference "id" is ambiguous
My understanding from the documentation here:
https://supabase.com/docs/guides/auth/row-level-security
that the "id" would be the project id. Why is it "ambiguous" or is referring to something else?garyaustin
03/02/2022, 8:37 PMmikeanth
03/02/2022, 8:56 PMmikeanth
03/02/2022, 8:57 PMmikeanth
03/02/2022, 8:57 PMmikeanth
03/02/2022, 9:25 PMsudo echo "127.0.0.1 kong" >> /etc/hosts
irrationaljared
03/03/2022, 2:18 AMsilentworks
03/03/2022, 8:32 AMKrisGunnars
03/03/2022, 8:56 AMsylar815
03/03/2022, 11:26 AMsilentworks
03/03/2022, 11:33 AMcryostatic
03/03/2022, 12:34 PMcryostatic
03/03/2022, 12:34 PMchipilov
03/03/2022, 12:38 PMcryostatic
03/03/2022, 12:52 PMtricked
03/03/2022, 4:01 PMlopezjurip
03/03/2022, 7:31 PMgeometry
fields (postgis) are returned as GeoJSON but geography
fields are returned as WKB strings? is it possible to force geojson?vbaluch
03/04/2022, 4:46 AM> CREATE OR REPLACE FUNCTION geography_to_geojson(geography) RETURNS json AS $$
> SELECT extensions.ST_AsGeoJSON($1)::json;
> $$ LANGUAGE SQL;
>
> CREATE CAST (geography AS json) WITH FUNCTION geography_to_geojson(geography);
>
sameh
03/04/2022, 5:17 AMverifyOTP
doesn't have `expires_at`field
https://github.com/supabase/gotrue-js/blob/master/src/GoTrueClient.ts#L707
if (this.persistSession && session.expires_at) {
this._persistSession(this.currentSession)
}
chipilov
03/04/2022, 8:23 AMbatuhanbilginn
03/04/2022, 10:05 AMMaus
03/04/2022, 1:09 PMcallum.m
03/04/2022, 3:14 PMbluetoothfx
03/04/2022, 3:52 PMproductdevbook
03/04/2022, 5:03 PMDate
?
@Field({ nullable: true })
@Column({ type: 'time', nullable: true, default: null })
time?: Date;mikeanth
03/04/2022, 5:29 PMbluetoothfx
03/04/2022, 5:29 PMmikeanth
03/04/2022, 5:30 PMmikeanth
03/04/2022, 5:30 PM