update migration file to use number type

For postgres compatibility.