Add line field to object error table

This commit is contained in:
amercader 2012-11-20 11:29:58 +00:00
parent 03fd1884f4
commit c52ed3b163
1 changed files with 2 additions and 1 deletions

View File

@ -225,8 +225,9 @@ def define_harvester_tables():
harvest_object_error_table = Table('harvest_object_error',metadata, harvest_object_error_table = Table('harvest_object_error',metadata,
Column('id', types.UnicodeText, primary_key=True, default=make_uuid), Column('id', types.UnicodeText, primary_key=True, default=make_uuid),
Column('harvest_object_id', types.UnicodeText, ForeignKey('harvest_object.id')), Column('harvest_object_id', types.UnicodeText, ForeignKey('harvest_object.id')),
Column('message',types.UnicodeText), Column('message', types.UnicodeText),
Column('stage', types.UnicodeText), Column('stage', types.UnicodeText),
Column('line', types.Integer),
Column('created', types.DateTime, default=datetime.datetime.utcnow), Column('created', types.DateTime, default=datetime.datetime.utcnow),
) )