Fix pshb migration for postgres