allieIsOkay / allieIsOkay/quantified-self-api

Add food model

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Create a Food model for storing records within the database.

This model requires the following fields:

id - Integer
name - String
calories - Integer
createdAt - Date
updatedAt - Date

The name and calorie fields should be required, and the name should be unique within the system.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.