Every time I create a new Entity with attributes as the type string, whenever I wish to update my database I receive the error:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Now this is something many people have faced and reasons are 
 described here. I understand what my problem is and I can solve it by giving the property @ORM\Column(type="string", length=191). 
I have to set the length to 191 for every single string type in my schema though. Is there any way though I can set the default length for a string to 191 in a (doctrine) config file so I don't have to change this every single time? 
I do not wish to change to utf8.
 
     
    