how to create a new table dynamically from the users table in authentication??
s
silentworks
01/26/2022, 12:17 PM
This isn't something you would normally do with a relational database. You normally create your tables in a way to share amongst users. Can you give more detail on what you are trying to do and someone will be able to advice better.
r
Rutik
01/26/2022, 1:22 PM
I want to export the emails from the users table in authentication section. I have a profiles table which contains other data except emails. So that's why. Is there any way I can do that?
s
silentworks
01/26/2022, 2:30 PM
Create a function and call it with
.rpc
silentworks
01/26/2022, 2:31 PM
Otherwise call this on the server side and use the
service_key
to access any table without RLS then you can get the data you wish