Fix index name length for Postgres comatibility.