def METHOD_NAME(self, orm):
    # Adding field 'QueryHistory.query_type'
    db.add_column('beeswax_queryhistory', 'query_type', self.gf('django.db.models.fields.SmallIntegerField')(default=0), keep_default=False)