Fix backorderable migration for postgresql.

Fixes #2671