Conception - groovytron/jee-todolist GitHub Wiki

Base de données

Voici les premières idées concernant la structure de la base de données:

Users

  • id: integer, primary key
  • name: varchar
  • password: varchar

Tasks

  • id: integer, primary key
  • name : varchar
  • description: text
  • deadline: date
  • created_at: date
  • done_at: date
  • list_id: integer, foreign key on Users

Lists

  • id: integer, primary key
  • user_id: integer, foreign key
  • created_at: date

bdd