Update migration to change datatype for pg database