Varchar not valid parameter?

Is the type varchar not valid for migrations scripts ?
I kept getting migration failures until I changed it to type :string.

Stuart