Better index handling in models
Fixes for index creation in Postgres
Revert "Remove column specific mappers"

This reverts commit e2b7e05ad4a7e0624e8a60e720e4d1332d7ee69e.