Fix column type change for postgres