def startup(self): ## These check that the schema is up to date DB.convert_to_unicode(None, 'dictionary') dbh=DB.DBO() dbh.execute("desc dictionary") for row in dbh: if row['Field'] == 'word': if not 'varbinary' in row['Type']: dbh.execute("alter table dictionary modify word VARBINARY(250)") break