Skip to content

Commit

Permalink
[tasks] Fix typo in model constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrousseau committed Oct 8, 2024
1 parent 9e96c63 commit d1a766a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zou/app/models/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Task(db.Model, BaseMixin, SerializerMixin):
priority = db.Column(db.Integer, default=0)
difficulty = db.Column(
db.Integer,
db.CheckConstraint('difficulty > 0 AND difficullt < 6'),
db.CheckConstraint('difficulty > 0 AND difficulty < 6'),
default=3,
)
duration = db.Column(db.Float, default=0)
Expand Down

0 comments on commit d1a766a

Please sign in to comment.