'Create an index for a given (schema) column.'

def _createIndex(self, col, checkfirst=True):

    idx_name = ('%s_%s' % (self.table.name, (col.index or col.name)))
    if checkfirst:
        for index in self.table.indexes:
            if (index.name == idx_name):
                return
    idx = Index(idx_name, getattr(self.table.c, self.colMap[col.name]))
    try:
        idx.create()
    except exc.OperationalError as e:
        _alchemy_logger.warn(('Skipping    creation    of    the    %s.%s    index:    %s' % (self.sqlmeta.table, col.name, e)))
