Update models.py

`task_id = sa.Column(sa.String(255), unique=True)`
Th above statement is not executing on MySQL saying "(1071, 'Specified key was too long; max key length is 767 bytes')"

reducing the task_id to 155 char is working fine