Hi @Jan, is there a way in supabase-kt that allows user create tables, columns with their own Supabase credential?
For example, when user first install the app, they fill in their credential and the app triggers some events to setup everything on their Suapabse dashboard
j
Jan
03/16/2025, 2:46 PM
You could probably create tables / columns via DB Functions or Edge Functions
h
Hieu Vu
03/16/2025, 3:01 PM
As per my understanding, the flow would be like:
When user first install the app > they fill in their credentials > From our client, we set up some Edge/DB function to create tables/columns and do other operations if needed.
Is that correct?
Hieu Vu
03/16/2025, 3:08 PM
My goal is to let user manage their own data
j
Jan
03/17/2025, 6:00 PM
When user first install the app > they fill in their credentials > From our client, we set up some Edge/DB function to create tables/columns and do other operations if needed.
Is that correct?
Probably? But you obviously have to handle the whole credential checking for creating columns etc yourself as creating columns cannot be done via the REST API, only via postgres.