Skip to content

Commit

Permalink
fix: changed maximum allowed recipes description length
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbpro committed Jan 22, 2021
1 parent 9ab1541 commit 4fe438b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RecipeModel(db.Model):

# define columns in table
id = db.Column(db.Integer, primary_key=True)
description = db.Column(db.String(constants['MEDIUM_LENGTH']))
description = db.Column(db.String(constants['LONG_LENGTH']))
labor_cost = db.Column(db.Float(constants['PRICE_PRECISION']))
supply_cost = db.Column(db.Float(constants['PRICE_PRECISION']))
creation_date = db.Column(db.String(constants['MEDIUM_LENGTH']))
Expand Down

0 comments on commit 4fe438b

Please sign in to comment.