Fix problem generating insert changelog with text datatype and applying the insert