[model] Avoid unicode warning

This commit is contained in:
amercader 2012-02-01 11:10:44 +00:00
parent b64d97118c
commit 004210935a
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def define_harvester_tables():
# Was harvested_document # Was harvested_document
harvest_object_table = Table('harvest_object', metadata, harvest_object_table = Table('harvest_object', metadata,
Column('id', types.UnicodeText, primary_key=True, default=make_uuid), Column('id', types.UnicodeText, primary_key=True, default=make_uuid),
Column('guid', types.UnicodeText, default=''), Column('guid', types.UnicodeText, default=u''),
Column('current',types.Boolean,default=False), Column('current',types.Boolean,default=False),
Column('gathered', types.DateTime, default=datetime.datetime.utcnow), Column('gathered', types.DateTime, default=datetime.datetime.utcnow),
Column('fetch_started', types.DateTime), Column('fetch_started', types.DateTime),