-
Notifications
You must be signed in to change notification settings - Fork 2
Initialize the DB in Supabase #2
Copy link
Copy link
Open
Description
Create a file to initialize the DB on Supabase as mentioned below
table of User_emails: just the list of the emails of the registered users
Table of Users : list of anion id of users and the groups they are connected(encrypted)
Table of Groups : list of group id and moderator_id and group settings
Table of Group_members : list of (member_id , Group_id ,details)
Table of Group_messages : ( msg, grp_id,User_id)
Table of 1-1 chats : (chat_id, member_id_1, member_id_2 , user_settings 1, user_settings_2)
Table of 1-1 messages( chat_id ,message, timestamp)
Add the file in a /models folder
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels