Fix migration issue with text type