'Generate a unique name for the index
Django\'s logic for naming field indexes is different in the
postgresql_psycopg2 backend, so we follow that for single-column
indexes.'

def create_index_name(self, table_name, column_names, suffix=''):

    if (len(column_names) == 1):
        return truncate_name(('%s_%s%s' % (table_name, column_names[0], suffix)), self._get_connection().ops.max_name_length())
    return super(DatabaseOperations, self).create_index_name(table_name, column_names, suffix)
