alizul01 / polinema-innovation-tribe

⭐ Polinema Innovation Tribe adalah wadah yang memberikan kesempatan kepada mahasiswa untuk mengembangkan ide-ide kreatifnya bersama dengan tim yang terdiri dari mahasiswa-mahasiswa yang memiliki visi yang sama.
https://polinema-innovation-tribe.vercel.app
MIT License
8 stars 6 forks source link

Database Requirement for Politribe #33

Closed alizul01 closed 1 year ago

alizul01 commented 1 year ago

Database Requirement for Politribe

We are using Supabase to manage the database for our project. Here are the requirements for the database:

Table model

Each idea should contain:

  1. title: the title of the idea (string)
  2. description: a detailed description of the idea (string)
  3. tags: keywords that describe the idea (array of strings)
  4. creator: the user who submitted the idea (object reference to the user's table)

Each team should have the following fields:

  1. name: the name of the team (string)
  2. 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?