'Returns the database column data type for this field, for the provided
connection.'

def db_type(self, connection):

    data = DictWrapper(self.__dict__, connection.ops.quote_name, 'qn_')
    try:
        return (connection.creation.data_types[self.get_internal_type()] % data)
    except KeyError:
        return None
