Open kcjpop opened 2 years ago
Let's create a new flashcard set called "Default set" (Bộ mặc định) for every new users. This can be done by sending a request to create a new set after confirming user's email, or creating a SQL trigger in database.
I added trigger function in supabase sql so it will add Default Set set to the newly created user.
Default Set
Functions name: create_default_flashcard_set (link) Trigger name: create_default_set_for_new_user (link)
create_default_flashcard_set
create_default_set_for_new_user
What
Let's create a new flashcard set called "Default set" (Bộ mặc định) for every new users. This can be done by sending a request to create a new set after confirming user's email, or creating a SQL trigger in database.