Fixed issue #9120: Migration issue from 1.90 to 2.05 when using Postgres