def METHOD_NAME(self, orm):
    # Deleting field 'QueryHistory.server_name'
    db.delete_column('beeswax_queryhistory', 'server_name')
    # Deleting field 'QueryHistory.server_host'
    db.delete_column('beeswax_queryhistory', 'server_host')
    # Deleting field 'QueryHistory.server_port'
    db.delete_column('beeswax_queryhistory', 'server_port')
    # Changing field 'QueryHistory.query'
    db.alter_column('beeswax_queryhistory', 'query', self.gf('django.db.models.fields.CharField')(max_length=1024))