HarryET
10/14/2021, 7:58 PMts
import { Provider as SupabaseProvider } from 'react-supabase';
import { AuthProvider } from "components/authProvider";
import { supabase } from "services/supabase";
import React from 'react';
const App = ({ Component, pageProps }) => {
return (
<SupabaseProvider value={supabase}>
<AuthProvider>
<Component {...pageProps} />
</AuthProvider>
</SupabaseProvider>
)
}
export default App;
shuckle
10/14/2021, 8:55 PMHarryET
10/14/2021, 9:13 PMlogikal
10/14/2021, 10:04 PMcontains
filters?logikal
10/14/2021, 10:05 PMand
and I need it to work as an or
logikal
10/14/2021, 10:05 PMulisses
10/14/2021, 10:32 PMjs
const {error} = supabase.auth.signUp({email, password}, {data: {account_type}})
how do I get the data value in the backend?HarryET
10/14/2021, 10:49 PMulisses
10/14/2021, 10:54 PMraw_user_meta_data
HarryET
10/14/2021, 10:55 PMulisses
10/14/2021, 10:57 PMHarryET
10/14/2021, 10:58 PMulisses
10/14/2021, 10:59 PMHarryET
10/14/2021, 10:59 PMHarryET
10/14/2021, 10:59 PMulisses
10/14/2021, 11:00 PMHarryET
10/14/2021, 11:02 PMHarryET
10/14/2021, 11:02 PMcarlomigueldy.eth
10/15/2021, 12:51 AMauth.users
table? For purposes of a demo account and I want to prevent from anyone who can access that to update the password.khacvy
10/15/2021, 2:26 AMauth.users
just like other tables, you can write the RLS normally.mikebarkmin
10/15/2021, 6:02 AMsql
(
(bucket_id = 'avatars':: text)
AND ((uid()):: text = split_part(name, '.':: text, 1))
AND (((metadata ->> 'size':: text)):: integer <= 200000)
)
This is my attempt, but it does not work. This on the other hand does work:
sql
(
(bucket_id = 'avatars':: text)
AND ((uid()):: text = split_part(name, '.':: text, 1))
)
Is metadata not present, when inserting or updating an image?
When I use the SQL console this query returns the correct objects, when uploading the files through the supabase web ui.
sql
SELECT * FROM storage.objects WHERE (((metadata ->> 'size':: text)):: integer <= 200000)
philbookst
10/15/2021, 9:10 AMphilbookst
10/15/2021, 9:22 AMDeleted User
10/15/2021, 11:24 AMsilentworks
10/15/2021, 12:09 PMkennethcassel
10/15/2021, 1:54 PMXzeta
10/15/2021, 3:01 PMXzeta
10/15/2021, 3:02 PMHal
10/15/2021, 3:07 PMHal
10/15/2021, 3:08 PM