Closed alizul01 closed 1 year ago
We are using Supabase to manage the database for our project. Here are the requirements for the database:
users
idea_box
Each idea should contain:
title
description
tags
creator
team
Each team should have the following fields:
name
string
members
array of object references to the user's table
User passwords should be encrypted
The database should be backed up daily / weekly? to ensure that data is not lost in the event of an unexpected incident.
What if we add a likes field to the idea_box table to keep track of how many users have liked an idea?
Database Requirement for Politribe
We are using Supabase to manage the database for our project. Here are the requirements for the database:
Table model
users
: stores user information such as name, email, and passwordidea_box
: stores ideas submitted by usersEach idea should contain:
title
: the title of the idea (string)description
: a detailed description of the idea (string)tags
: keywords that describe the idea (array of strings)creator
: the user who submitted the idea (object reference to the user's table)team
: stores information about project teams and their membersEach team should have the following fields:
name
: the name of the team (string
)members
: the users who are members of the team (array of object references to the user's table
)Security
User passwords should be encrypted
Backup
The database should be backed up daily / weekly? to ensure that data is not lost in the event of an unexpected incident.
Suggestions
What if we add a likes field to the idea_box table to keep track of how many users have liked an idea?