Why do you need to change the type? DataTypes.STRING is VARCHAR(255) already, no?