Database #16

Open
opened 1 year ago by BachoSeven · 0 comments
Owner

Parlando invece di tabelle nel database, l'idea sarebbe avere le seguenti tabelle

  • users:

    • id unico utente (UUIDv4)
    • username
    • (opzionale) nome completo
    • (opzionale) email
  • accounts: rappresenta un account collegato ad un utente, per ogni provider serve:

    • user_id --> users.id
    • nome del provider
    • username dal provider
  • poisson_account_requests:

    • user_id --> users.id
    • tipo di richiesta (collegamento o creazione)
    • commenti (contiene possibili suggerimenti nome utente)
  • appunti

    • user_id --> users.id
    • hash
    • (opzionale) link
    • visibility (public, internal, private)
    • title (usato per creare il nome del downloaded file)
    • description
    • tag (array di string, ad esempio #geometria-2 #511aa #2017-18 #frigerio)
Parlando invece di tabelle nel database, l'idea sarebbe avere le seguenti tabelle - **users**: - id unico utente (UUIDv4) - username - (opzionale) nome completo - (opzionale) email - **accounts**: rappresenta un account collegato ad un utente, per ogni provider serve: - user_id --> users.id - nome del provider - username dal provider - **poisson_account_requests**: - user_id --> users.id - tipo di richiesta (collegamento o creazione) - commenti (contiene possibili suggerimenti nome utente) - **appunti** - user_id --> users.id - hash - (opzionale) link - visibility (public, internal, private) - title (usato per creare il nome del downloaded file) - description - tag (array di string, ad esempio #geometria-2 #511aa #2017-18 #frigerio)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phc/website#16
Loading…
There is no content yet.