Change data column of photo table from blob to mediumblob