Skip to content

Initialize the DB in Supabase #2

@20Varun23

Description

@20Varun23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions