Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
vcai122 committed Apr 21, 2024
1 parent 3aa9eac commit bab3055
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/dining/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class DiningItem(models.Model):
ingredients = models.CharField(max_length=1000) # comma separated list
allergens = models.CharField(max_length=1000) # comma separated list
nutrition_info = models.CharField(max_length=1000) # json string.
# Technically, postgres supports json fields but that involves local postgres instead of sqlite AND we don't need to query on this field
# Technically, postgres supports json fields but that involves local postgres
# instead of sqlite AND we don't need to query on this field

def __str__(self):
return f"{self.name}"
Expand Down

0 comments on commit bab3055

Please sign in to comment.